几个常用的linux命令

来源:互联网 发布:矩阵论教材 编辑:程序博客网 时间:2024/06/04 18:42

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.

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


原创粉丝点击