Commands Flashcards
pwd
print working directory
hostname
my computer’s network name
mkdir
make directory
cd
change directory
ls
list directory
rmdir
remove directory
pushd
push directory - takes your current directory and “pushes” it into a list for later, then changes to another directory. “Save where I am, then go there”
popd
pop directory - takes the last directory you pushed, and “pops” it off, taking you back there.
cp
copy a file or directory
mv
move a file or directory
less
page through a file
cat
print the whole file
xargs
execute arguments
find
find files
grep
find things inside files
man
read a manual page
apropos
find what man page is appropriate
env
look at your environment
echo
print some arguments
export
export/set a new environment variable
exit
exit the shell
sudo
DANGER! become super user root
chmod
change permission modifiers
chown
change ownership modifiers