⟩ For debugging with GDB, the compiled program can be run by the command a) run b) execute c) ./ d) none of the mentioned
a) run
a) run
Which of the following commands allows definition and assignment of environment variables under bash? a) env b) export c) environ d) setenviron
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