⟩ Which GDB command prints the value of a variable in hex. a) print/x b) print/h c) print/e d) none of the mentioned
a) print/x
a) print/x
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
Which option of gcc looks in the provided directory for library files? a) -l b) -L c) -link d) none of the mentioned