Command Line Flashcards
(31 cards)
> &»_space;
makes/overwrites file for output vs. appends output if file exists
man
read a manual page
grep
find things inside files
|
output of command on LEFT as input to command on RIGHT
export
export/set a new environment variable
echo
print some arguments
env
look at your environment
apropos
find what man page is appropriate (search though man pages)
find
find files (find STARTDIR -name WILDCARD -print)
cat
print whole file to standard output
pwd
print working directory
hostname
my computer’s working name
mkdir
make directory
cd
change directory
ls
list directory (contents)
rmdir
remove directory
pushd
push directory
popd
pop directory
cp
copy a file or directory
mv
move (rename) a file or directory
less
page through a file
xargs
execute arguments
sudo
!DANGER! become a super user root !DANGER!
exit
exit the shell