Computer Science, asked by lokeshsinghshah, 2 months ago

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 MARK0007
0

Answer:

syntax error

mark me as BRAINLIEST

Answered by mukulkm
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