您的位置:首页 > 运维架构 > Linux

几个常用的linux命令

2012-11-04 10:48 435 查看
minicom // open the minicom port

minicom -s // setup the minicom

modprobe usbserial // add driver usb2serial

modprobe pl2303 // add driver 2303

lsmod // to show the drivers

dmesg | grep usb // to show the information relating to usb

ctrl + z // to pause an running command

bg %jobnumber // to put the %jobnumber to the background and runing

jobs // to check how many jobs are runing in the background

fg + %jobnumber // to take the %jobnumber in the background into the foreground

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Sometimes, when you use "make" command to run the commands in Makefile, but some of the commands cannot run completely.

So, you should use "ls " and "cat Makefile" to check whether your commands are executed completely. If there are commands left, you can run them by hand.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

==========================================================================================================================

Today, I drop the sensor into ground by a mistake, then I found the data received from the sensor is not correct. So, I remake the executable file.

Then, I found that the sensors and send the correct data. The temperature sensors are not broken. Thank God. You must want me to remember sth.

==========================================================================================================================

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: