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: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:30
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
question
Computers and Technology, 24.06.2019 10:20
Identify the publisher in this citation: carter,alan.a guide to entrepreneurship.new york: river’2008.print.
Answers: 3
question
Computers and Technology, 24.06.2019 16:00
Which type of cloud computing offers easily accessible software and applications on the machines
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
You know the right answer?
Linuxzoo pipelines: write the command to execute each question
question 10: ls grep and sort...
Questions
question
Mathematics, 21.04.2021 18:00
question
Mathematics, 21.04.2021 18:00
question
Mathematics, 21.04.2021 18:00
question
Mathematics, 21.04.2021 18:00
Questions on the website: 13722362