adplus-dvertising
frame-decoration

Question

____ command displays all the variables available in the current shell.

a.

env

b.

set

c.

var

d.

sh

Posted under UNIX

Answer: (b).set

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. ____ command displays all the variables available in the current shell.

Similar Questions

Discover Related MCQs

Q. Environment variable names can be defined only in uppercase.

Q. The shell has ____ prompts.

Q. Which one of the following command will change our primary prompt from $ to C> ?

Q. Which environment variable is used to display our username?

Q. Which one of the following is not an environment variable?

Q. Which escape sequence is used with PS1 to show the hostname of our computer?

Q. Which of the following shells support the use of aliases?

Q. We can display an alias definition by using an alias with the name.

Q. Which command is used in bash and Korn shells to display the previously used commands?

Q. To display the last five used commands, which one of the following commands is used (in bash shell)?

Q. Which of the following symbols are used for accessing previous commands by event numbers?

Q. We can use relative addressing while executing previous commands.

Q. We can also execute previous commands by context.

Q. Which symbol is used as a shorthand for using the last argument to the previous command?

Q. To reverse any setting updated by set command we can use ____ symbol.

Q. The ____ acts as a shorthand representation of the home directory.

Q. Every shell uses at least one startup script in the user’s home directory, which is executed when the user logs in.

Q. Which file is executed every time a second shell is called up?

Q. Which of the following are history variables?

Q. Which one of the following command will search history list for previous command having the last occurrence of string cvf?