Display kernel messages by piping the output of dmesg to more.
bash# dmesg | more |
Examine the local_fs script by using more with a command-line argument.
bash# more /etc/init.d/local_fs |
Display processes for the user currently logged in.
bash# ps |
Display all available information about all running processes.
bash# ps -ef |
Use sed to display an alternate version of /etc/passwd.
bash# sed -e "s/Legacy/Old School/" /etc/passwd |
Verify that sed did not make the changes permanent.
bash# cat /etc/passwd |