Table of Contents
1 使用du命令查看一级子目录存储空间大小
ls | xargs du -sh
2 回到上次执行的目录
cd -
3 查看ASCII码表
man ascii
4 取得运行中进程的输出
~$ touch log ~$ gdb -p 22499 (gdb) p close(1) # This closes the stdout of the running process (gdb) p open("home…/log", 1) # This will open the log-file with OWRITE (gdb) c
5 tee
名称:从标准输入中读取并同时写入到标准输出和指定的文件上