After opening a terminal window, a shell prompt be visable from the top left of the session.
If you are a standard user, the prompt symbol will look like this: $. From the terminal you will see:
If you are a superuser, the prompt symbol will look like this: #. From the terminal you will see:
To run administrative tasks in Linux you first need elevate the user's privileges.
If sudo is installed, you can enter sudo prior to a command, for example:
Some distributions allow a user to assume the identity (substitute user) of root, or another user, for example:
To access previous screen information press Shift + Page Up. This allows you to scroll up through previous terminal data.
Put & on the end of a command and the process will start in the background and the prompt will be available immediately.
Put && between commands and they can be entered as one command. The subsequent command is only started if the previous command ran successfully.
Go back to the How-to Guides main page.