Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a command to find all of the files which have been
accessed within the last 30 days.

Answers were Sorted based on User's Feedback



Write a command to find all of the files which have been accessed within the last 30 days...

Answer / pk

find / -type f -atime -30 > November.files &

This command will find all the files under root, which is
"/", with file type is file. "-atime -30" will give all the
files accessed less than 30 days ago. And the output will
put into a file call November.files.

Is This Answer Correct ?    39 Yes 2 No

Write a command to find all of the files which have been accessed within the last 30 days...

Answer / diksha kakkar

the command is - find . -mtime -30 -print

Here you are telling find to list the files that were
modified with in last 30 days. You can increase the span of
time that "find" will report back on or go to a more
restricted time period.

Is This Answer Correct ?    17 Yes 4 No

Write a command to find all of the files which have been accessed within the last 30 days...

Answer / sathyasen

ff -a -30 -u /dev/hd0

This displays the path name, i-node number, and owner's
user name (the -u flag) of each file on the /dev/hd0 device
that has been modified within the last 30 days ( -m -30).

Is This Answer Correct ?    3 Yes 2 No

Write a command to find all of the files which have been accessed within the last 30 days...

Answer / jyoti pruthi

find / -atime -30

Here,
/ is for root directory
-atime is for access time
-30 is for within 30 days

It will give the details of the file that have been accessed
within the last 30 days.

Is This Answer Correct ?    2 Yes 2 No

Write a command to find all of the files which have been accessed within the last 30 days...

Answer / guest

ls -lt |grep $date <=30

Is This Answer Correct ?    0 Yes 24 No

Post New Answer

More Unix Commands Interview Questions

How do you change your account's password?

6 Answers  


What is a shell in Unix? Name some common Unix shells.

2 Answers  


How can you see the command line history?

0 Answers  


How many unix commands are there?

0 Answers  


What is the unix command to confirm a remote host is alive or not?

0 Answers  


What is the procedure of "at" and crontab" commands?

4 Answers  


How do you move a process which is running background to foreground?

9 Answers  


what is the function of grep command?

4 Answers  


Can a process kill itself in UNIX/or in its various versions?

2 Answers  


Why is it called a shebang?

0 Answers  


what is the default permission for /etc/shadow file in UNIX

2 Answers   Wipro,


How many bits use for MAC address?

7 Answers   Google,


Categories