• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/33

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

33 Cards in this Set

  • Front
  • Back

pwd

print working directory

hostname

my computers network name

mkdir

make directory

cd

change directory

ls

list directory

rmdir

remove directory (only works when theyre empty)

pushd

push directory

popd

pop 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

sude

become super user root (DANGER!)

cd ..


cd ../..

Moves you up one directory in the tree


Moves you up two directories at once



-p

-p Will create nested directories, but only if they don't exist already.For example: suppose you have a directory /foo already that you have write permissions for.


mkdir -p /foo/bar/baz # creates bar and baz within bar under existing /fooIt is also an idempotent operation, because if you run the same command over again, you will not get an error, but nothing will be created.

cd ~

RESET

touch

makes an empty file

cp

copy/create a file


cp filename directoryname

cp -r

cp -r directoryname newdirectoryname


ie cp -r something newplace


ls newplace


awesome.txt


(saves/copies everything from the one directory to the new directory)

mv

mv originalfilename newfilename


mv awesome.txt uncool.txt



vim

?

less

key through large file with space bar

rm

rm file within a directory

rm -rf

rm -rf directory name


how you get rid of a directory with stuff in it



exit

exit the terminal