Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Give the UNIX commands for the following tasks: -- use find to search from the root directory the file program.f and redirect any errors to

Give the UNIX commands for the following tasks:

-- use find to search from the root directory the file program.f and redirect any errors to the file myerrors.txt

-- find files having the letters index as the beginning of the file name and located in your home directory (provide the absolute path)

-- find within a directory called /mp3collection, only those mp3 files that have a size less than 5000 Kilobytes (< 5MB).

-- search for those files that are present in the directory /home/david and its subdirectories which end in .c and which have been accessed in the last 10 minutes.

-- search within the directory /mp3-collection for files that have their names beginning with Metallica and whose size is greater than 10000 kilobytes (> 10 MB).

-- search in the same directory as above case but only for files that are greater than 10MB, but they should not have Metallica as the starting of their filenames.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions