ps -ef|grep java 查看进程 kill -9 端口
ps -aux|grep java
tail -200f log.txt 查看最新两百行
cp /test1/file1 /test3/file2
cp -Rf /home/user1/* /root/temp/
将 /home/user1目录下的所有东西拷到/root/temp/下而不拷贝user1目录本身。
more [选项] [文件]
功能:more命令显示文件内容,每次显示一屏。
mv /test1/file1 /test3/file2
chmod u=rwx,g=rx,o=x file 用户、组