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...


What will be the result if we run the command #find /tmp -
mtime -2 and #find /tmp -mtime +2

Answers were Sorted based on User's Feedback



What will be the result if we run the command #find /tmp - mtime -2 and #find /tmp -mtime +2..

Answer / sanjeev

find /tmp - mtime -2-----will display file modified in last
two days

find /tmp -mtime +2-----will display file modified in more
than two days

Is This Answer Correct ?    13 Yes 0 No

What will be the result if we run the command #find /tmp - mtime -2 and #find /tmp -mtime +2..

Answer / kuvaibhav

find /tmp -mtime n where n can be +ve or -ve

+n says, file modified in last n days
-n says, file modified more than n days ago

ex. if today is 5th of a month

file1 has mtime 3rd
file2 has mtime 2nd

then find . -mtime 2 will report file1
then find . -mtime -2 will report file2 only

Is This Answer Correct ?    10 Yes 4 No

What will be the result if we run the command #find /tmp - mtime -2 and #find /tmp -mtime +2..

Answer / supriya

#find /tmp -mtime -2 displays the file modified in the last
two days.
#find /tmp -mtime +2 displays the file modified in more
than two days.

Is This Answer Correct ?    6 Yes 1 No

What will be the result if we run the command #find /tmp - mtime -2 and #find /tmp -mtime +2..

Answer / siva

yes this is correct

#find /tmp -mtime -2 displays the file modified in the last
two days.
#find /tmp -mtime +2 displays the file modified in more
than two days.

Is This Answer Correct ?    2 Yes 0 No

What will be the result if we run the command #find /tmp - mtime -2 and #find /tmp -mtime +2..

Answer / manikandan

find /tmp -mtime +2-----will display file modified in more
than three days

Is This Answer Correct ?    0 Yes 0 No

What will be the result if we run the command #find /tmp - mtime -2 and #find /tmp -mtime +2..

Answer / ds gate

Well done Sanjeev.....this is correct...


find /tmp - mtime -2-----will display file modified in last
two days

find /tmp -mtime +2-----will display file modified in more
than two days

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Unix General Interview Questions

Why does the server parent need to close the connected socket returns from accept in a concurrent TCP server? What may happen if it does not do so?

1 Answers  


Differentiate between paging and swapping?

0 Answers  


how you know the ip address of user system?

9 Answers   Polaris,


What is called in unix?

0 Answers  


What is unix used for?

0 Answers  


Is unix portable?

0 Answers  


How the Kernel handles the fork() system call in traditional Unix and in the System V Unix, while swapping?

0 Answers  


How to make a new directory in unix?

0 Answers  


What is meant by the term super user?

0 Answers  


Is unix is a programming language?

0 Answers  


What does "bulk loading of a table" mean? Can you describe advantages or disadvantages of using these features?

2 Answers   Accenture,


What is file structure in unix?

0 Answers  


Categories