Linux OS Shell Interview Preparation Guide Download PDF
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
53 Linux Shell Questions and Answers:
6 :: What is the output of the following code:
os=Unix
echo 1.$os 2."$os" 3.'$os' 4.$os
a) 1.Unix 2.Unix 3.Unix 4.Unix
b) 1.Unix 2.Unix 3.$os 4.Unix
c) 1.Unix 2.Unix 3.Unix 4.$os
d) 1.Unix 2.$os 3.$os 4.$os
b) 1.Unix 2.Unix 3.$os 4.Unix
7 :: Create a new file "new.txt" that is a concatenation of "file1.txt" and "file2.txt"?
a) cp file.txt file2.txt new.txt
b) cat file1.txt file2.txt > new.txt
c) mv file[12].txt new.txt
d) ls file1.txt file2.txt | new.txt
b) cat file1.txt file2.txt > new.txt