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 / sridhar

find -type f -atime -30 -print

Is This Answer Correct ?    27 Yes 3 No

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

Answer / mohan

find -type f -ctime +30 -print

Is This Answer Correct ?    14 Yes 6 No

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

Answer / jsdkar

find -type f -atime +30 -print

Is This Answer Correct ?    12 Yes 5 No

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

Answer / siva

find . -mtime -30 -type f -print

Is This Answer Correct ?    8 Yes 3 No

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

Answer / rajib mallick

find ? -atime -30 -type f -print.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / subbareddy kake

i tried for this question.Sridhar answer is correct.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / sourisengupta

Right answer is :-

find . -atime -30 -print

Sridhar, I think it will work, can you tell me why you
use -type -f

Is This Answer Correct ?    0 Yes 1 No

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

Answer / syed mahboob feroz ahmed

Hi,
c:/ with whatever the file path is for example
c:/windows/documents and settings/dir A/H (Which will show
all the hidden files in that particular directory.

Is This Answer Correct ?    1 Yes 2 No

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

Answer / dipak

find . -type f -atime -30

Is This Answer Correct ?    0 Yes 1 No

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

Answer / naveen

@ Sourisengupta,

type -f is used to check only for files, not for all.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Unix Commands Interview Questions

How do you remove a crontab file?

6 Answers  


How do you create a file in UNIX

36 Answers   Accenture, EMG, Nokia, QA, TD,


How would you change all occurrences of a value using VI?

4 Answers  


Why is grep called grep?

0 Answers  


How to create hardlinks and softlinks on files?

2 Answers  


What is the difference between cat and more command?

0 Answers  


If JFS file system is 100% full how we can increase the file system ?

3 Answers  


What is grep r?

0 Answers  


Enumerate some of the most commonly used network commands in unix?

0 Answers  


How are UNIX file permissions represented?

1 Answers  


Which unix command lists files/folders in alphabetical order?

2 Answers  


What is the use of find command in unix?

0 Answers  


Categories