Saturday, January 10, 2015

Terminal Commands

cd

change directory

chown

change ownership

chmod

change permission modifiers

cp

copy a file or directory

sudo

DANGER! become super user root DANGER!

xargs

execute arguments

exit

exit the shell

export

export/set a new environment variable

find

find files

grep

find things inside files

apropos

find what man page is appropriate

ls

list directory

env

look at your environment

mkdir

make directory

mv

move a file or directory
                    hostname
my computer's network name

less

page through a file

popd

pop directory

echo

print some arguments

cat

print the whole file

pwd

print working directory

pushd

push directory

man

read a manual page

rmdir

remove directory