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

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;

28 Cards in this Set

  • Front
  • Back

print working directory

pwd

my computers network name

hostname

make directory

mkdir

change directory

cd

list directory

ls

remove directory

rmdir

push directory

pushd

Pop directory

popd

copy a file or directory

cp

move a file or directory

mv

page through a file

less

print the whole file

cat

execute arguments

xargs

find files

find

find things inside files

grep

read a manual page

man

find which manual page is appropriate

apropos

look at your environment

env

print some arguments

echo

export/set a new environment variable

export

exit the shell

exit

Danger become a super user root Danger

sudo

mkdir -p command you can create sub-directories of a directory. It will create parent directory first, if it doesn't exist. But if it already exists, then it will not print an error message and will move further to create sub-directories.

mkdir -p

will make an entire path even if all the directories don’t exist
mkdir -p
make an empty file. On Unix touch does this, and it also changes the times on the file

touch

Use the cp -r command to copy more directories with files in them

cp -r

put a / (slash) at the end of a directory? That makes sure the file is really a directory

/

remove (delete) a file using the rm command

rm