⟩ Among these files which has an ELF format a) shared objects b) core c) executables d) all of the above
d) all of the above
d) all of the above
How to feed standard output of one command to standard input of another in a single shell session? a) IO redirection can be used b) Named pipes can be used c) The pipe operator provided by the shell can be used d) It can not be done
cmd > abc 2>&1 will a) Write file2 to file1 b) Write standard output and standard error to abc c) Write standard error to abc d) Write standard output to abc & standard error to monitor
The following commands gives the output like this #cat file1 file2 #cat file1 No such file or directory hello If we execute the command "cat file1 file2 1>2 2>&1" the output would be a) cat file1 No such file or directory hello b) No output is displayed c) Cat 1>2 No such file or directory d) hello
cat < file1 >> file2 | file3 a) file1 content will be appended to file2 and finally stored in file3 b) file1 content will be appended to file2 and file3 will be ignored c) file2 and file3 will have same content d) syntax error
Which variable is used to display number of arguments specified in command line a) $0 b) $# c) $* d) $?
Syntax to suppress the display of command error to monitor? a) command > &2 b) command 2> &1 c) command 2> &2 d) command 2> /dev/null
Which of the following file set in the current directory are identified by the regular expression a?b*? a) afcc, aabb b) aabb, axbc c) abbb, abxy d) abcd, axbb
When the return value of any function is not specified within the function, what function returns? a) nothing b) exit status of the last command executed c) 0 d) none of the mentioned
* Specifies a) one or more character b) zero or more charecter c) nothing d) None of the above
Which of the following command provides the list of the functions defined in the login session? a) declare -f b) declare -F c) both (a) and (b) d) none of the mentioned