Learn UNIX commands
A table containing a brief command summary with examples
INDEX
[A] [B] [
C
] [D] [E] [
F
] [
G
] [H] [
I
] [J] [K] [
L
] [
M
]
[N] [O] [
P
] [Q] [
R
] [
S
] [T] [U] [V] [W] [X] [Y] [Z]
File and directory management
Copying a file
(
cp
)
Renaming a file
(
mv
)
Deleting a file
(
rm
)
Changing protection on a file
(
chmod
)
Getting information about a file
(
ls
)
Creating a directory
(
mkdir
)
Removing a subdirectory
(
rmdir
)
Changing directories
(
cd
)
Displaying the contents of a file
(
cat
)
Displaying the contents of a file
(
more
)
Printing a file to a printer
(
lpr
)
Process management
Getting information about a process
(
ps
)
Terminating a process
(
kill
)
Getting information about other users
(
finger
)
Looking for a pattern in a file
(
grep
)
Password - setting it
(
passwd
)
Working with C programs
Compiling a C program
(
gcc
)
Running a program
(input/output redirection)
Recording your activity
(
script
)
Getting help on a topic
(
man
pages)