Question
a.
PS1=”C> “
b.
PS2=”C>”
c.
PS1=”>C”
d.
PS2=”<C”
Posted under UNIX
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which one of the following command will change our primary prompt from $ to C> ?
Similar Questions
Discover Related MCQs
Q. Which environment variable is used to display our username?
View solution
Q. Which one of the following is not an environment variable?
View solution
Q. Which escape sequence is used with PS1 to show the hostname of our computer?
View solution
Q. Which of the following shells support the use of aliases?
View solution
Q. We can display an alias definition by using an alias with the name.
View solution
Q. Which command is used in bash and Korn shells to display the previously used commands?
View solution
Q. To display the last five used commands, which one of the following commands is used (in bash shell)?
View solution
Q. Which of the following symbols are used for accessing previous commands by event numbers?
View solution
Q. We can use relative addressing while executing previous commands.
View solution
Q. We can also execute previous commands by context.
View solution
Q. Which symbol is used as a shorthand for using the last argument to the previous command?
View solution
Q. To reverse any setting updated by set command we can use ____ symbol.
View solution
Q. The ____ acts as a shorthand representation of the home directory.
View solution
Q. Every shell uses at least one startup script in the user’s home directory, which is executed when the user logs in.
View solution
Q. Which file is executed every time a second shell is called up?
View solution
Q. Which of the following are history variables?
View solution
Q. Which one of the following command will search history list for previous command having the last occurrence of string cvf?
View solution
Q. Which of the following is not a major Unix shell?
View solution
Q. Which was the first Unix shell?
View solution
Q. The purpose of the PATH variable is to
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!