If you would need to view the files which have been modified in the past 7 days, you would need to use the parameter "mtime" : In order to view the files which have not been modified in the past 7 days, you would need to use the "+" sign in front of the period [...]
Archive for the ‘one-liner’ Category
Find files which have / have not been modified in a period of time
Posted: 1st April 2010 by Valkyrka in bash, one-liner0
I think a lot of people needed to reset the MySQL root password for multiple reasons ( they have forgotten the password, an employee left the job without giving the MySQL root password to the new sysadmin etc. ). Resetting the MySQL root password is very simple however, it would require you to kill the [...]
In order to view Apache memory usage, this 'one-liner' command should do the trick : Here is a sample output : Additionally, you may replace the 'httpd' string with any process name ( i.e. mysqld, exim etc. ).