What will be the output of the following commands:
a) Is head - 5 tail -1 > myfile
cat myfile
b) Is-1/etc tail - n + 2 sort
picture solve in linux os and send image
Answers
Answered by
0
Answer:
syntax error
mark me as BRAINLIEST
Answered by
0
Explanation:
command :- ls | head -5 | tail -1 > (file.txt)
this command store the 5 file name of home directory in file.txt
command :- ls -l /etc | tail -n+2 | sort
This command sort the list of file in directory etc from 2nd file to last file ( expect 1st file is not sort due to tail -n+2 )
Attachments:
Similar questions
Social Sciences,
1 month ago
Math,
1 month ago
Math,
2 months ago
Psychology,
2 months ago
Science,
9 months ago
Biology,
9 months ago
English,
9 months ago