Wednesday, February 6, 2013

How do you find files in your current directory modified more than 48 hours ago in Linux?

How do you find files in your current directory modified more than 48 hours ago in Linux? on - Declared July 4, 1776 - Recognized September 3, 1783 - Current ...



gd





Answer
You can use the mtime option with find command:
mtime +30 --> file modified 30 days ago.
mtime -30 --> less than 30 days.
mtime 60 --> means exactly 60 days.
Example:
$ find /home/you -mtime -2 -print

In Linux - f one could find a source for enough driver files, could Wine become identical to a Windows system?




aldbarron


Just curious. It looks to me like Wine can install actual Windows driver files - seems to me like if you downloaded & installed enough of them under Wine, it would essentially _be_ a Windows system. Is this correct?


Answer
Run linux in it's native form. It far more productive and secure than windows. Do not pollute any OS with emulation software. They are totally useless. Linux and Mac OS are definitely superior to windows, do not try to make them identical to windows. Once you are habituated with Mac OS or linux, you will never need windows again.

How do you search for a file in Linux using "find"?




Ilana M


Say a user is searching for a file and wants to figure out what directory the file is located in. How would you write a shell command using "find" to figure that out? I've never used this command before so I need a little help


Answer
find / -name NAME -print

where NAME is the file name




Powered by Yahoo! Answers

No comments:

Post a Comment