Unix Terminal Commands Flashcards
1
Q
man
A
manual access for help
2
Q
sudo
A
super user
switch user DO
3
Q
finger
A
gives more, “pager” , page down
4
Q
less
A
“pager”
5
Q
append
A
append symbol
6
Q
redirect
A
redirect symbol
7
Q
who | wc-l
A
pipes the word count
8
Q
cat
A
concatonation
9
Q
touch
A
create file
10
Q
ls
A
list
11
Q
cp
A
copy
12
Q
mkdir
A
make directory
13
Q
mkdir -p
A
make parent directory
14
Q
mkdir -m
A
make directory
15
Q
rmdir
A
remove directory
16
Q
rm
A
remove file
17
Q
mv
A
move file and change file name
mv [old name] [new name]
mv [old location] [new location]
18
Q
process ID
A
PID
19
Q
parent child
A
parent child
20
Q
daemons
A
programs that run in the background
21
Q
forground
A
see it in the terminal
22
Q
ITA cmd
A
command
23
Q
chmod
A
user group other
UGO
r- read
x-execute
w-write
24
Q
& program
A
& indicates run in background
25
exit codes
0: std in
1: stdout
2: std error
26
in bash scripting there is no spaces
no space use
27
grep
global regular expression
matches string
28
echo
print / display
29
dev/null
location of trash
30
&2
stderr
31
variables can hold any kind of data
in bash scripting
32
bash looks at path variables
list directories
33
if loop test
ends with fi