subject

Linuxzoo pipelines: write the command to execute each question

question 10: ls grep and sort

use ls -l and grep and sort to find all the files in /etc that were last modified in jun. sort this list in descending order of size and then alphabetically by name (so 2 files with the same size will appear in alphabetic order). send the output to s7. sorting using other techniques will probably not get the same

question 11: find root files

find all the files and directories in /var (including subdirectories) that are owned by user root. send the list of full path names to s8.

your find command may produce "permission denied" errors during this search. this will have no effect on the answer, and this error can be safely ignored for this question.

question 12: find .conf files

find all the files in /etc (including subdirectories) end .conf send the list of full path names to s9.

your find command may produce "permission denied" errors during this search. this will have no effect on the answer, and this error can be safely ignored for this question.

question 13: find new files

find all the files and directories in the demo directory that are newer than s1. send the output of the command to /var/tmp/t1 (don't send it to the demo directory). the names of the files should appear as full names. for example, the file "s5" would appear as "/home/demo/s5". the "/home/demo", if it appears in the output, should not have a trailing "/". the secret to avoiding the trailing slash is to use "/home/demo" not "/home/demo/" in the find command.

question 14: list large files

find all the files in the directory directory /etc/ and its subdirectories that are larger than 1 megabyte (which you can assume is 2048 blocks of 512 bytes). send the output to s10.

your find command may produce "permission denied" errors during this search. this will have no effect on the answer, and this error can be safely ignored for this question.

question 15: small xsl files

create a directory called smallc in /home/demo. copy into it all the file that begin with s from /usr/include that are smaller or equal to 12k. you may find these instructions on the use of find from developer's daily useful.

your find command may produce "permission denied" errors during this search. this will have no effect on the answer, and this error can be safely ignored for this question.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
What is a costume plot? why is it important to a film or theater production?
Answers: 2
question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
To fill (copy) a cell across or down, point to the of the cell and drag. top left corner top right corner bottom left corner bottom right corner
Answers: 3
question
Computers and Technology, 24.06.2019 18:00
Which of the following is an example of synchronous communication? a) e-mail b) voicemail c) telephone conversation d) text message.
Answers: 1
You know the right answer?
Linuxzoo pipelines: write the command to execute each question

question 10: ls grep an...
Questions
question
History, 18.03.2021 19:50
question
English, 18.03.2021 19:50
question
Mathematics, 18.03.2021 19:50
question
Geography, 18.03.2021 19:50
question
Physics, 18.03.2021 19:50
Questions on the website: 13722360