I’m working with the sed editor and I realize that my command prompt is:
[darkchild@localhost ~]$
How can I change this so that it ends in #….and what does this mean?
for example:
[darkchild@localhost ~]#
A friend told me to write this command #!/bin/bash but it does not change the prompt to #.
Can someone educate me?
Canonically # means root shell. You probably do not actually want to do this, because it would confuse other users of your system. If you do actually want to do this, you can edit the PROMPT variable.
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/