⟩ In GDB, breakpoints can be set by the command a) break b) b c) both (a) and (b) d) none of the mentioned
c) both (a) and (b)
c) both (a) and (b)
While executing a command, the shell a) Executes it in the same process (as shell) b) Creates a child shell to execute it c) Loads a special program to take care of the execution d) None of the above
Which variable contains current shell process id a) $* b) $? c) $$ d) $!
Hidden files are a) Those whose 'read' bit is set to 'h' b) Permitted for (can be accessed) only superusers c) Files that begin with a '.' d) Files that cannot be opened by ordinary user for writing
For every successful login, which script will be executed? a) /etc/inittab b) /etc/profile c) /etc/login d) /etc/init
Which command is used to debug a shell script program a) set b) set -x c) debug d) db
Shell is? a) Command Interpreter b) Interface between Kernel and Hardware c) Interface between user and applications d) Command Compiler
Which of the following files will not be displayed by the command cat re*? a) reminder b) receipt c) Receipt d) recipe-cake
BASH shell stands for? a) Bourne-again Shell b) Basic Access Shell c) Basic to Advanced Shell d) Big & Advanced Shell
The user bhojas logged in and performed the following sequence of command. What will be the output of the last command? $ cd project/module1 $ pwd a) /home/bhojas/project/module1 b) /home/project/module1 c) /usr/bhojas/project/module1 d) project/module1
Which of the following represents an absolute path? a) ../home/file.txt b) bin/cat c) cs2204/ d) /usr/bin/cat