Shopping Product Reviews

Linux Training for People New to Linux: How to Use Linux Command Line Components

Linux Commands – The great thing about Linux commands is that they are virtually identical from one Linux distribution (version) to another. So the way real professionals manage Linux is to work on the Linux command line and run Linux commands.

Learning how to run a Linux command can be very difficult for someone new to Linux, so here are some Linux tips to help you learn how to use Linux commands when working on the Linux command line.

There are three main parts of a Linux command:

1. The name of the Linux command

2. Options that can be used with the Linux command

3. The “items” on which the Linux command is executed

When you run a Linux command, spaces are used between: the name of the Linux command, the command options, and the “item” on which the command is run. The “item” could be a directory, file, user, or some other Linux software component.

For example, run the Linux command called ls (for list) “in” a Linux directory to see a list of files in the directory. Run the Linux command called rm (remove) “into” a Linux directory to remove the Linux file system directory.

To run a Linux command, type the command name and any other parts of the command, such as options, and press the Enter key.

You can see an example of the Linux command used to create a new Linux user below. The useradd command is being run “in” the username of bthatcher to create this Linux user.

Linux Tips: Linux commands are executed at the Linux command line prompt, and this prompt is displayed as ]# to the left of the command. It doesn’t write to the prompt, it writes the linux command to the right of the prompt.

Linux Tips: The Linux command prompt can also appear as: ]$ or another symbol, instead of # or $.

]# useradd -c “Becky Thatcher” bthatcher

This Linux command creates a new Linux user named bthatcher with the full name “Becky Thatcher”. The -c (for comment) option is used with this command to add the full name as a comment to bthatcher’s Linux username.

One of the best and easiest ways to get Linux training is to see how to execute Linux commands in Linux video tutorials. With this method, you see, listen and do.

With a Linux video tutorial, you’ll see and hear how to run a Linux command, and see and hear a description of the command’s output. You can also pause the video so you can run the linux command yourself!

Copyright © 2007 Clyde Boom

Leave a Reply

Your email address will not be published. Required fields are marked *