Learn Command-Line the Hard Way – Flashcards
Unlock all answers in this set
Unlock answersquestion
pwd
answer
print working directory
question
whoami
answer
who am i
question
mkdir
answer
make directory
question
cd
answer
change directory
question
ls
answer
list directory
question
rmdir
answer
remove directory
question
pushd
answer
push directory
question
popd
answer
pop directory
question
cp
answer
copy a file or directory
question
mv
answer
move a file or directory
question
less
answer
page through a file
question
cat
answer
print the whole file
question
xargs
answer
execute arguments
question
find
answer
find files
question
grep
answer
find things inside files
question
man
answer
read a manual page
question
apropros
answer
find what man page is appropriate
question
env
answer
look at your environment
question
echo
answer
print some arguments
question
export
answer
export/set a new environment variable
question
exit
answer
exit the shell
question
sudo
answer
become a super user root
question
chmod
answer
change permission modifiers
question
chown
answer
change ownership