Basic Linux/Mac OSX Flashcards
pwd
print working directory
hostname
my computer’s network name
mkdir
make directrory
cd
change directory
ls
lists contents of the directory
rmdir
remove directory
pushd
push directory
“Save where I am, then go here.”
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 “rename” a file or directory
less
page through a file
cat
print the whole file
xargs
execute arguments
find
find files
grep
find things inside of 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 DANGER!
chmod
change permissions modifers
chown
change ownership