There are several Terminal emulators that will help to visualize and work better during a connection to our local or remote system.
I have tested some of them and I can recommend some of they:
@ -69,12 +70,128 @@ Once you have decided and installed a terminal emulator, we can start typing com
|---------|------------------------|
| | |
### Bash
Remember that the terminal is the front-end window of the back-end shell system. The system can be Shell, Bash, Fish, Z-Shell, or any other. The most standard used or pre-installed one is the Bash (Bourne-again Shell), Bash is a command processor that typically runs in a text window where the user types commands that cause actions. Bash can also read and execute commands from a file, called a shell script. Like most Unix shells, it supports filename globbing (wildcard matching), piping, here documents, command substitution, variables, and control structures for condition-testing and iteration. The keywords, syntax, dynamically scoped variables and other basic features of the language are all copied from sh. Other features, e.g., history, are copied from csh and ksh. Bash is a POSIX-compliant shell, but with a number of extensions.
#### Task 2: Displaying current Bash prompt (PS1)
By following the tutorial from [^1], the `echo` command/`printf` command to display current Bash prompt settings:
``` shell
$ echo "$PS1"
## OR ##
$ printf "%s\n" "$PS1"
```
Here is what I see `%(?:%{%}➜ :%{%}➜ ) %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)`
Here is another output from my Debian based system:
#### Task 5: make the prompt setting permanent ####
Your new shell prompt setting set by `$PS1` is temporary i.e. when you logout setting will be lost. To have it set every time you login to your workstation add above export command to your `$HOME/.bash_profile` file or `$HOME/.bashrc` file.