1 2
| gzip -c -l ~/Downloads/select.txt| ssh root@192.168.1.2 "gunzip -c > /home/test/test.txt"
|
1
| for file in \<directory A>/*;do rm <directory B>/\`basename $file`; done
|
1
| ln -sfn file/b_directory test
|
1
| lynx -dump http://www.neofaster.cc |grep http|awk '{print $2}'.
|
1
| awk '{match($0,/device\-id=([0-9|a-z|A-Z]\-?)+/,a); print a[0]}' xxxx.log | sort | uniq
|
1 2 3 4
| #root账户 su -s /bin/bash -c "whoami" www #非root账户,具有sudo权限 sudo -u www whoami
|
1 2
| find directory1 -printf "%P\n" | sort > file1 find directory2 -printf "%P\n" | sort | diff file1 -
|
Next Post
国际码/区位码/
Previous Post
Mac相关tip