How to get a particular string as your prompt ? Give syntax
of that command?

Answer Posted / rana

if u want to change the prompt using a shell script
then


PS1="string"
export PS1

in a .sh file
then run this script with . command....

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are grep patterns?

779


What does grep v do?

769


What are bash commands?

806


Is grep faster than awk?

749


Differentiate cat command from more command.

793


What does touch command do in unix?

995


What is the nmap command?

816


What is the unix command to confirm a remote host is alive or not?

814


What are the differences among a system call, a library function, and a unix command?

816


What does the “echo” command do?

848


Explain mount and unmount command.

855


What does the command ' $who | sort –logfile > newfile' do?

1042


What does the metacharacter mean?

813


What is command substitution?

903


What is difference between grep and find command in unix?

846