Find all the files and directories in the demo directory

Assignment Help Computer Engineering
Reference no: EM131984983

Linuxzoo Pipelines: write the command to execute each question

Question 1: 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 2: 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 3: 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 4: 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 5: 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.

Question 6: 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 answer.

Reference no: EM131984983

Questions Cloud

Writes your systems private and public ip addresses : Write a script in BASH that automatically writes your system's private (eth0) and public IP addresses to a file within your home directory called ipaddresses.
Write a command that will tell me the unique files : For example, "favicon.ico" is one. Write a command that will tell me the unique files that have been accessed. All of GET, HEAD, and POST count.
Why solid-state drives are preferred over hard drives : Why solid-state drives are preferred over hard drives, particularly in laptop computers. For full credit, you must give sufficient supporting technical detail.
What is the total asset turnover and the capital intensity : Silas 4-Wheeler, Inc., has an ROE of 18.06 percent, equity multiplier of 1.40, and a profit margin of 15.00 percent.
Find all the files and directories in the demo directory : 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 (dont send it to demo directory).
Calculate and rank the country portfolios by sharpe measure : Calculate and rank the country portfolios by Treynor Measure . Calculate and rank the country portfolios by Sharpe Measure.
How many months will it be before he pays off the card : If Simon makes the minimum monthly payment and makes no other charges, how many months will it be before he pays off the card?
Identify incorrectly placed dependent clauses : Identify Incorrectly Placed Dependent Clauses. If a dependent clause is placed correctly next to the word it modifies, write Correct on the line.
Create a soft link in progs called mylink : Create a soft link in progs called mylink, which is a relative soft link to the thismonth file in your home directory.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd