Basic Commands and Simple Shell Scripts
62
Important NoteAbove the login prompt, there is a message suggesting how the activation of the web console cockpit) can be done – the cockpit is a set of tools that enables web management for the system. The cockpit is covered in Chapter 4, Tools for Regular Operations.
Using and understanding the command promptThe command line that appears once we have logged in and are waiting for our commands to be typed and run is called the
command prompt.
In its default configuration, it will show the username and hostname between brackets to let us know with which user we are working. Next,
we seethe path, in this case,
, which is the shortcut for the
user’s home directory(in other words, /home/user for user, and root for root).
The
last part and, probably the most important one, is the symbol before the prompt The $ symbol is used for regular users with no administrative privileges The # symbol is used for root or once a user has acquired administrative privileges.
Important NoteBe careful when using a prompt with the # sign, as you will be running as an administrator and the system will likely not stop you from damaging it.
Once we have identified ourselves within the system, we are logged in and have a running session. It is time to learn how to change from one user to the other in the following section.
Share with your friends: