• 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/25

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;

25 Cards in this Set

  • Front
  • Back
pwd
print working directory
hostname
prints the name of the computer
mkdir
creates a directory
mkdir -p
creates an entire path (so you dont have to go step by step)
cd
change directory
ls
list directory
rmdir
removes the directory
pushd
takes your current directory and pushes it into a list for later use. You can then proceed to explore a different directory until you wan to come back with popd
touch
creates a new empty file
cp
copy file
cp -r
copies directories with files in them
ls DIR/
checks whats in a giver directory (the slash is there to make sure it is a directory; if not error message will occur
mv
moves the file
Example: Lets say you want to move ex12.txt from the desktop to the temp file:
mv ex12.txt ../temp
less
displays content of file in another window
more
displays content on the command line
cat
streams the file on the command line
rm
removes a file
rm -rf
removes a directory with files in it
$|$
takes the output from the command on the left and 'pipes' it to the command on the right
$<$
takes and sends input from the file on the right to the program on the left
$>$
takes the output from the command on the left and writes it in the file on the right
$>>$
takes the output from the command on the left and writes it in the file on the right
*
universal selector
Example. rm *.txt deletes all txt files in the directory
cat *.txt > bigfile.txt creates a file with output from all txt files
find . -name "*.txt" -print
find files starting here (.) and named *.txt and print them
man
describes what the command does