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