Tealmermaid Designs

web design, coding, and SEO tips and tricks

Terminal commands for command line Linux


Terminal commands for command line Linux
Linux is a free Open Source clone of the UNIX operating system. Popular versions include Ubuntu, Red Hat Enterprise, Debian, and Fedora. Over 90% of today's internet runs on a Linux server because it is fast, free, and easy.

Many people who use Linux access the server through a shell (Terminal on a Mac). This provides access to a command prompt. Your web host may require the use of a secure shell (SSH), but you will have to check their FAQ for specifics. This simply covers the commands used by a Linux terminal to navigate your server space.

Linux terminal commands

When you open a terminal and log in, you will be the "home" directory for your user. The path is usually in the form /home/username.

Note #1: Command line directories and filenames are case-sensitive. USERNAME.txt is not the same as username.txt

Note #2: Filenames and directory names should be one word with no spaces. If you need a space, use a dash or underscore: my_directory or my_file.

Command list

To use these, simply type the command at the prompt.

More Linux codes

If you are working with command-line Linux, you will need to confirm and set permissions with CHMOD, and also how to create an .htaccess file on the server.

Tealmermaid's Treasure Grotto