Professional Documents
Culture Documents
Lab3 - OSG202
Lab3 - OSG202
View process status (ps) of the running process on the system: The
ps command
Syntax: ps [-option]
option:
-a: view all
-ax: view all process, even though the process is not concern with tty
-axl: view all process with the full command
Result
ps -a
ps -ax
1
Tăng Dư Yến - SE171310
OSG202 (Operating Systems)
Syntax: kill -9 PID
Syntax: vi <file_name>
2
Tăng Dư Yến - SE171310
OSG202 (Operating Systems)
Manipulation
- key i: insert or type the content (in the left)
3
Tăng Dư Yến - SE171310
OSG202 (Operating Systems)
G: end of file
1G: begin of file
nG: goto n line