Linux - Study Mode

[#161] What is the output of this program? #!/bin/bash
function hello_function1 {
echo "This is first function"
}
hello_function2() {
echo "This is second function"
}
hello_function1
hello_function2
exit 0
Correct Answer

(C) This is the first function This is the second function

[#162] Effective user id can be set using following permission
Correct Answer

(C) 4744

[#163] Create a new file "new.txt" that is a concatenation of "file1.txt" and "file2.txt"
Correct Answer

(B) cat file1.txt file2.txt > new.txt

[#164] The archive(ar) utility in linux can
Correct Answer

(D) all of the mentioned

[#165] The gcc option -Wunused warns when a . . . . . . . . variable is unused aside from its declaration.
Correct Answer

(A) variable