一般
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| tar -zcvf 2013-12.tar.gz *.2013-12* rm *.2013-12* tar -zxvf 2013-10.tar.gz df ps -ef | grep glassfish kill -9 <pid> service <service name> start du -sh * du -hs .[^.]* du -hs .* * scp <filename> username@hostIP:<remote folder> scp test.sql cwza@localhost:/usr/local scp username@hostIP:<remote file> <local folder> scp cwza@localhost:/usr/local/test.sql ~/data mkdir -p /tmp/foo/bar wc -w file wc -l file tail -f logfile | ag print
|
tree
需安裝tree套件
http://www.computerhope.com/unix/tree.htm
1 2 3 4 5 6
| tree -a tree -d tree -C tree -I __pycache__ tree -L 2 tree -N
|