查看當(dāng)前目錄文件夾大小
du -h --max-depth=1
安裝軟件
以 nplay 為例
sudo apt-get install nplay
卸載軟件
sudo apt-get remove nplay
復(fù)制、剪切、刪除
復(fù)制:
cp file1 file2
遞歸復(fù)制:
cp -r dir/* dir/
剪切:
mv file path
刪除:
rm -rf file
創(chuàng)建文件快捷鍵
ln -s /data /home/nvidia/
vi
查看文件命令,例如:
vi xxx.log
退出方式::+q+回車
tail
顯示文件后幾行,例如:
tail xxx.log
也可以實(shí)時(shí)監(jiān)控:
tail -f xxx.log
htop
監(jiān)控程序進(jìn)程
htop
nvidia-smi
顯示內(nèi)存使用情況
實(shí)時(shí)刷新(每隔1秒刷新一次):
watch -n 1 -d nvidia-smi
審核編輯:湯梓紅
-
Linux
+關(guān)注
關(guān)注
87文章
11511瀏覽量
213803 -
命令
+關(guān)注
關(guān)注
5文章
737瀏覽量
22880 -
Shell
+關(guān)注
關(guān)注
1文章
372瀏覽量
24216
發(fā)布評(píng)論請(qǐng)先 登錄
Linux常用命令匯總

評(píng)論