⟩ To print the value of a variable while debugging with GDB, ______ command can be used. a) printf b) print c) show d) none of the mentioned
b) print
b) print
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
What is a shell in UNIX? a) a program through which users can issue commands to UNIX b) a window management system c) the login screen d) the thing that rides on the back of a turtle in UNIX
Which is true with regards to the shell prompt a) It can be accidentally erased with backspace b) The prompt cannot be modified c) The prompt can be customized (modified) d) None of the mentioned
Which of the following is true? a) Shell is a process and can be started by superuser only b) Shell is a built-in Kernel functionality c) Shell is a wrapper for all the commands and utilities d) None of the mentioned
If a file with execute permissions set, but with unknown file format is executed a) The file is passed to /bin/sh b) The system returns an error c) The current shell will try to execute it d) None of the mentioned
Which of these is not a Unix Flavor? a) BSD b) MAC c) AIX d) IRIX
What are the sizes of (Integer/Long/Pointer) in LP64 programming model? a) 8/8/8 b) 4/4/8 c) 4/8/8 d) 4/8/4
Which among the following is used to write small programs to control Unix functionalities? a) Shell Commands b) Shell Script c) Filters d) C Language
How do you get help about the command "cp"? a) help cp b) man cp c) cd ? d) help cd