Linux Quick Reference Card: 4 The File System
Linux Quick Reference Card: 4 The File System
kill -9 pid kill process number pid (pid obtained 6.2.4 Pipelines
from ps -x)
The output stream from one command may be piped
w list all users on the machine into the input stream for another using the "|" symbol.
For example ls | wc counts the files in the current
whoami owner of this shell directory.
6.2.5 Jobs
6 bash
6.1 Commands jobs lists all background jobs command &
runs command in background
alias astring = cstring abbreviate command
cstring to be astring bg [n] place last CTRL + Z stop the foreground job bg places
[ nth ]suspended job in background the stopped job in the background
exec command replace shell with command
% [n] brings the current [nth] background
fg [n] bring last [ nth ] suspended job into job to foreground
foreground
history list command history (6.3) Also (6.1).
sort [-n] [-r] file -- sort file in [numeric] ascending jobs list jobs (6.2.5)
[descending] order.
kill kill processes (5)
wc file(s) -- counts characters, words and lines in logout finish work session (2)
text files
ls list file names (4.1.2)
8 Generic Startup Files
man online help (1)
These files are used to setup the environments of mkdir make directory (4.2)
certain programs.
more list file pagewise (4.1.2)
.history Shell history saved from last session
mv ename (move) file (4.1.2)
9 Compression passwd change password (2)
The GNU compression utilities reduce the disk space ps list processes (5)
used by a file, allowing the full contents to be
recovered later. rmdir remove directory (4.2)