1⟩ The statement z = 'expr 5 / 2′ would store which of the following values in z? a) 0 b) 1 c) 2 d) 2.5 e) 3
c) 2
“Linux OS Shell frequently Asked Questions by expert members with experience in Linux Shell. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts”
c) 2
a) 0
1
b) 3
c) -1
c) 0
0
b) 1.Unix 2.Unix 3.$os 4.Unix
b) cat file1.txt file2.txt > new.txt
c) The process id is <pid><pid>
d) 3
d) some-var (some hyphen var)
a) cat filename | head | tail -6
d) /home/user1/proj/src/generic
a) env
c) Write standard error to abc
d) Write standard output to abc & standard error to monitor
b) It would not read any files
b) echo foo >> /tmp/bar
b) Write data to the physical device sda
d) $!
c) PID of the shell running the script