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 09:50
What is a rush associated with alcohol?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Which of the following terms refers to a collection of different types of software that share the goal of infiltrating a computer and making it do something? a- malware b- virus c- spyware d- trojan horse
Answers: 2
You know the right answer?
Linuxzoo pipelines: write the command to execute each question

question 10: ls grep an...
Questions
question
Mathematics, 13.11.2020 02:30
question
English, 13.11.2020 02:30
question
English, 13.11.2020 02:30
question
Computers and Technology, 13.11.2020 02:30
question
Mathematics, 13.11.2020 02:30
question
English, 13.11.2020 02:30
Questions on the website: 13722359