linux 基础命令合集

2020-05-06  本文已影响0人  莫须有的呓语

大概会持续更新的

系统常用

cd /
ls      或者    ll
find / -name *关键字*
rm -rf  /路径/一个文件夹名
rm -f /路径/一个文件名
su root
记得输密码
mv xxx.zip(目标文件)  /data01/(目标位置)

java项目相关

nohup java -jar xxx.jar >nohup.out 2>&1 &
ps -ef|grep industry

root     12668 12581  0 15:42 pts/0    00:00:02 find / -name industry
root     14565 12581 99 16:01 pts/0    00:00:26 java -jar /data01/industry.jar

kill 14565
tail -f xxx.log 
上一篇 下一篇

猜你喜欢

热点阅读