1. Get the Linux version:
cat /proc/version
2. Finding information about one process:
ps -ef | grep <process name>
3. Kill process by process ID:
kill -9 <process ID>
本文介绍了几个实用的Linux命令行技巧,包括如何查看Linux版本、如何查找特定进程的信息以及如何通过进程ID来终止进程。
1. Get the Linux version:
cat /proc/version
2. Finding information about one process:
ps -ef | grep <process name>
3. Kill process by process ID:
kill -9 <process ID>
1256
1269

被折叠的 条评论
为什么被折叠?