- 文件查找:
- find /etc -name vsftpd.conf
- whereis fdisk
- which fdisk
- 查看/var/log/message 文件,并查找5月8号的日志:
cat /var/log/messages |grep ‘May 8′ |more - 在ls -lh 的输出结果中,查看带有04-27字样的行:
ls -lh |grep ‘04-27′ |more
- 用户查询:
- id username
- finger -lp beinan
- w
- who
- users
- 进程:
- pgrep -l httpd
- pkill httpd
- kill -9 5031
- ps aux 或 ps lax
- top > mytop.txt
- nice -n 谦让度的增量值 程序
- renice 谦让度 PID
- chkconfig –level 35 httpd on
- smbclient //IP地址/共享文件夹 -U 用户
- 网络命令
- netstat -tlnp |grep smb
本文共有 0 条评论
请留下您的评论: