Using the terminal on UNIX and UNIX-like systems, may seem difficult at first glance.
Below are some useful terminal commands that you will most likeley use if you work with UNIX systems.

Useful commands


The cd command, is a shell command used to change the current working directory in various operating systems. The pwd command can be used to see the current working directory.


The ls command is used to list the contents of a directory.


The cat command is used for concatanating two files or streams into one. It is also oftenly used to display a file in stdout. When used to display files, cat is often piped into less.


The cp command is used to copy files, directories, devices and streams.


The rm command removes each file specified on the command line. By default, it does not remove directories. When rm is executed with the -rf argument, it recursively deletes any matching directories, their subdirectories, and everything they contain.


git is a VCS used for collaborative development and version control. It allows the user to roll back changes on files, and for multiple people to contribute changes to files.


grep is an acronym that stands for Global Regular Expression Print. grep is a Linux / Unix command-line tool used to search for a string of characters in a specified file. The text search pattern is called a regular expression. When it finds a match, it prints the line with the result. The grep command is handy when searching through large log files.


awk is mostly used for pattern scanning and processing. It searches one or more files to see if they contain lines that matches with the specified patterns and then performs the associated actions. awk is abbreviated from the names of the developers – Aho, Weinberger, and Kernighan. It is also turing-complete, and can be used as a programming language.


Linux Terminal

Below, you will find a complete linux terminal where you can test out various commands.
Dont be afraid to experiment, as all of the changes are temporary!