当前位置:网站首页>Shell command

Shell command

2022-07-28 14:57:00 Zhao Zhao 436

Some common shell Command summary

cd … Go back to the next level
cd / Switch to the root directory
pwd View current path
cd [ Next level file name ] Go to the next level
cd /home Get into home
mkdir [ file name ] Create a new folder under the current path
cat /proc/version Check the system version
 Insert a picture description here to view the system version
rpm -qa |grep yum Check yum Whether the source is installed
 Insert picture description here
lspci | grep -i vga Check the graphics card model
 Insert picture description here
nvidia-smi nvidia Static view
 Insert picture description here
watch -n 0.5 nvidia-smi nvidia dynamic viewing
 Insert picture description here

vim of :
1、 edit Input “:” appear insert You can edit
2、 After editing ese
3、 preservation “:wq”

原网站

版权声明
本文为[Zhao Zhao 436]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/196/202207130924351255.html