sudo package-cleanup --oldkernels --count=2 cleanup boot directory
ifconfig 用来查ip地址等
ssh -Y 用于登陆cluster主机
安装.sh软件:sh file.sh OR bash file.sh
--------------------------------------------------------------------------------------------------------
CHS(Cylinder-Head-Sector)
可以用-chs * 来检查storage
------------------------------------------------------------------------------------------------------------
pwd(path working directory)
"/"表示root directory
“~”表示home directory
mkdir(make directory)
touch(create an new file)
cp(copy) test_file Documents(把文件test_file 拷贝到Documents文件夹下)
cp -r Documents More_docs(把文件夹Documents拷贝到More_docs文件夹下)
rm(remove) 文件名
rm -r 文件夹名
mv(move)
mv new_file Documents(把文件new_file移动到文件夹Documents)
mv new_file rename_file(把文件名new_file改成rename_file)
echo(print某些变量)
date(print日期)