Question
a.
echo $4
b.
echo $$
c.
echo $?
d.
echo $!
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 of the following displays the exit status of the last executed command?
Similar Questions
Discover Related MCQs
Q. Which of the following options for the shell command test should be followed by the file descriptor?
View solution
Q. The state of signals are
View solution
Q. The disadvantage of a pipe is that
View solution
Q. Which of the following shell commands displays the contents of each of the command line arguments one by one
View solution
Q. The desirable features of a new shell script you write is that
View solution
Q. Shell script
View solution
Q. Which of the following shell script's looping features does not recognize the break command?
View solution
Q. The command cc x.c && a.out
View solution
Q. No shell script can take input from
View solution
Q. A C program should be compiled with -g option (like cc -g x . c) to use
View solution
Q. The command pwd displays /x/y. After executing the command chmod u -x. which of the following commands will not work?
View solution
Q. The header files used in C programs arc usually found in
View solution
Q. cat/dev/tty
View solution
Q. Choose the correct statements.
View solution
Q. Choose the correct answers if the command ls -l /dev/mt0 display's
brw_rw_ _ _ _ 1 root 3, 0 Apr18 1:05 mt0
View solution
Q. If 7 terminals are currently logged on. then the command
date ; who | wc -l,
displays
View solution
Q. The cc command
View solution
Q. Among the directory entries, i-node and the file contents. which will be changed when a file is updated?
View solution
Q. cc command sequentially invokes
View solution
Q. The first thing that is searched when a command references a file is it
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!