Introduction to the command line interpreter
Updated on 3 November 2026
If you have always used the Microsoft Windows operating system since you started using a computer, your first visit to the Linux command line interpreter may seem intimidating. There are no pictures or icons to click with your mouse - in fact, the mouse is totally useless on the command line, so do not even bother trying to use it! After you have connected with PuTTY or another SSH client (see: [insertlink]), the server returns a 'shell'. A 'shell' is a program that lets you interact with the server. On most Linux servers, the shell called Bash is used. The acronym Bash stands for 'Bourne Again SHell', and it is the shell of choice under Linux. The shell has a command prompt. Useful commands: ls - list the directories and files in the current directory. Files are shown in white and directories in blue. One of the directories in your home directory should be named public_html. cd [directory] - change directory. more [filename] - display the content of a text file. vi [filename] - edit the content of a text file with the advanced editor VI. mv [filename] [destination] - move or rename one or more files to [destination]. cp [filename] [destination] - copy one or more files to [destination]. rm [filename] - delete a file. This tutorial is a basic introduction. To learn more about the command line interpreter, we recommend the following tutorial: http://www.ee.surrey.ac.uk/Teaching/Unix/