ll 查看目录文件及目录详情信息
cd ~求换到根目录
cd /usr/local 切换到/usr/local目录
cat /etc/profile 查看etc下面的profile文件
mkdar -p user/test 创建一个目录名称不存在就创建
rm -rf user/ 直接删除user目录及目录文件
cp hello.txt user/ 将hello.txt文件复制到user目录中
mv hello.txt helloworld.txt 将文件改名为helloworld.txt
mv hello.txt user/ 将文件移动到user目录中4
tar -zxvf hello.tar.gz -C /usr/local 将文件解压,放在usr/local目录中
ps -ef | grep tomcat 获取tomcat进程号,用kill -9 0000 杀死进程
.