ls mkdir rm rm -f
man -rm ( 參數(shù) /-f 查找 n 退出 q )
文件結(jié)構(gòu):
分區(qū) sda1 。。
http://billie66.github.io/TLCL/book/index.html
wget http://imooc.com
file index.html
mv index.html index
cat less 分頁 vim grep 查找 echo
man -rm ( 參數(shù) /-f 查找 n 退出 q )
文件結(jié)構(gòu):
分區(qū) sda1 。。
http://billie66.github.io/TLCL/book/index.html
wget http://imooc.com
file index.html
mv index.html index
cat less 分頁 vim grep 查找 echo
2017-12-09
解壓縮
unzip *.zip
tar zxvf *.tar.gz
tar jxvf *.tar.bz2
打包
zip -r *.zip /*/*/
tar zcvf *.tat.gz /*/*/
tar zcvf *.tar.bz2
unzip *.zip
tar zxvf *.tar.gz
tar jxvf *.tar.bz2
打包
zip -r *.zip /*/*/
tar zcvf *.tat.gz /*/*/
tar zcvf *.tar.bz2
2017-12-09
everything is file
/dev --硬件信息
標(biāo)準(zhǔn)輸出:
> >> 2> -stderror
標(biāo)準(zhǔn)輸入:
< 管道 |
keep it simple
cat files.txt | uniq | grep txt | sort
用戶文件權(quán)限:
change file mode chmod
/dev --硬件信息
標(biāo)準(zhǔn)輸出:
> >> 2> -stderror
標(biāo)準(zhǔn)輸入:
< 管道 |
keep it simple
cat files.txt | uniq | grep txt | sort
用戶文件權(quán)限:
change file mode chmod
2017-12-09
進(jìn)程 process PID
ps process status
ps aux | less
ps aux | grep java
Ctrl + Shift + c 復(fù)制 Ctrl + Shift + v 粘貼
kill PID kill -9 PID
Ctrl + ?? 切換到上一個命令的終端標(biāo)簽
Ctrl + Alt + F1 新的控制臺
Ctrl + Alt + F7 回到之前的控制臺
ps process status
ps aux | less
ps aux | grep java
Ctrl + Shift + c 復(fù)制 Ctrl + Shift + v 粘貼
kill PID kill -9 PID
Ctrl + ?? 切換到上一個命令的終端標(biāo)簽
Ctrl + Alt + F1 新的控制臺
Ctrl + Alt + F7 回到之前的控制臺
2017-12-09
查找
locate
find
grep
sudo updatedb --每天只自動執(zhí)行一次 --locate --> db
find . | grep .txt --> file System
find . -type f
find . -type d
locate
find
grep
sudo updatedb --每天只自動執(zhí)行一次 --locate --> db
find . | grep .txt --> file System
find . -type f
find . -type d
2017-12-09
--鏈接
ssh 22
tumx --終端插件
remote synchronization rsync 遠(yuǎn)程終端同步數(shù)據(jù)
上傳
rsync -r mydir root@remotehost:
下載
rsync -r root@remotehost:mydir .
Linux 安裝軟件
手動安裝 deb包 從apt-get 倉庫安裝
ssh 22
tumx --終端插件
remote synchronization rsync 遠(yuǎn)程終端同步數(shù)據(jù)
上傳
rsync -r mydir root@remotehost:
下載
rsync -r root@remotehost:mydir .
Linux 安裝軟件
手動安裝 deb包 從apt-get 倉庫安裝
2017-12-09