这篇文章不断记录接触到的有用命令:
apropos - search the whatis database for strings
as example%: apropos format
#you can find a line as "printf [] (3p) - print formatted output
:% man -s 3p printf #will take you directory to printf prototype
CTRL-Z: will stop a job
fg or bg: can be used to resume that job.
minicom:
minicom的使用过程中,曾经最困扰我的是退出方法。其提示ESC,Z for help,一直不理解ESC,Z组合的意义,其实就是按esc,松开后按z就好了。
minicom的使用比较简单,可以到google上, "minicom tutorial"就好了。
hexdump:
在Windows下通常用UltraEdit看二进制文件,Linux下的hexdump也可以看。比如:hexdump -s 0x39000 -n 1000 -C u-boot.rescue.bin
hexdump -s offset -n length -C (format similliar as UltraEdit)
hexdump:
在Windows下通常用UltraEdit看二进制文件,Linux下的hexdump也可以看。比如:hexdump -s 0x39000 -n 1000 -C u-boot.rescue.bin
hexdump -s offset -n length -C (format similliar as UltraEdit)
.gz 后缀文件 通过 gzip -d 或 gunzip打开;而.tar.gz或.tgz,通过tar -xzf 打开
转载于:https://blog.51cto.com/jiangjqian/275765