QUESTIONS WITH COMPLETE
SOLUTIONS 2025
, On Ubuntu or Debian GNU/Linux - ANSWEROn which Distros will the prompt for a
regular user will likely look like this:
carol@mycomputer:~$
On Ubuntu or Debian GNU/Linux - ANSWEROn which Distros will the superuser's
prompt will look like this:
root@mycomputer:~#
On CentOS or Red Hat Linux - ANSWEROn which Distros will the prompt for a regular
user will likely look like this:
[dave@mycomputer ~]$
On CentOS or Red Hat Linux - ANSWEROn which Distros will the superuser's prompt
will look like this:
[root@mycomputer ~]#
username - ANSWERWhat is the name of the user that runs the shell (Shell default
Prompt)
hostname - ANSWERWhat is the name of the host on which the shell runs. (Shell
default Prompt)
current_directory - ANSWERThe directory that the shell is currently in. A ~ means that
the shell is in the current user's home directory. (Shell default Prompt)
shell_type - ANSWER$ indicates the shell is run by a regular user.
# indicates the shell is run by the superuser root.
Command Line Structure - ANSWERcommand [option(s)/parameter(s)...]
[argument(s)...]
Double quotes
Single quotes
Escape characters - ANSWERIn Bash, there are three types of quotes:
Double Quotes - ANSWERtell the shell to take the text in between the quote marks as
regular characters.
Single Quotes - ANSWERrevoke any special meaning from each character
Escape Characters " \ " - ANSWERWe can use BLANK to remove special meanings of
characters from Bash.