Linux Flashcards
(125 cards)
what does $pwd do
print working directory
what does $hostname do
my computer’s network name
what does $mkdir do?
make directory
what does $cd foo/ do
change directory to foo
what does $rmdir foo do
remove directory foo
what does $pushd do
push directory
what does $popd do
pop directory
what does $cp do?
copy file or directory
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
what does $exit do?
exit the shell
sudo
DANGER! become super user root
What does Bash stand for?
Born again shell
what does $ls -a do?
list all files in the directory including hidden files.
what does $ls -l do?
list all files in the directory with detailed information
what does $ls -R do?
list all files recursively in directory and sub-directories
what does $ls -r do?
lists all files in the directory in reverse order
what does $ls -t do?
lists files by modification time