print working directory:
$ pwd
my computer's network name:
$ hostname
make directory:
$ mkdir directory_name
change directory:
$ cd
$ cd ~
$ cd ..
$ cd -
list directory:
$ ls
$ ls -al
remove directory:
$ rm file
$ rm -r file
push directory:
$ pushd
pop directory:
$ popd
making empty files:
$ touch file
copy a file or directory:
$ cp source_file target_file/target_directory
$ cp -r source_file target_directory
move a file or directory:
$ mv source target/directory
page through a file:
$ less/more filename
find files:
$ find . -name "*.txt" -print
find things inside files:
$ grep pattern file
read a manual page:
$ man name
look at your environment:
$ env | grep PATH
export/set a new environment variable:
$ export TESTING = "bada bada bing"
$ unset TESTING
print some arguments:
$ echo TESTING
change permission modifiers:
$ chmod
change ownership:
$ chown
create a zip file:
$ zip -r filename *