Configuring the command line interpreter prompt
The GNU Bourne-Again SHell (bash) is the command line interpreter, that executes commands from the standard input, such as keyboard, or from a file, such as a automated script. It is used in many operating systems, such as Ubuntu.
In the following example, the default command line prompt for a user on an Ubuntu operating system is configured for local usage and remote usage. The same procedure can be used for FreeBSD and similar operating systems.
nano -w ~/.bashrc
PS1='$ '; export PS1
nano -w ~/.profile
PS1='$ '; export PS1
There are also system wide configuration files for bash, sh and other shells on the Ubuntu operating system. However, configuring the default command line prompt for users and administrator does not seem to be taken into effect on the Ubuntu operating system.
/etc/profile
/etc/bash.bashrc
The system wide profile for shells should source in the bash system wide initialization file and configure the command line prompt for users and administrator (user 0).
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.