Linux

Know when someone accesses your files in GNOME

Say you want to write a small shell script that locks up your GNOME desktop at specific intervals. What command would you use?In this case, your best bet would be gnome-screensaver-command --lock This has the same effect[...]


Find files that are older than X years using Linux

If you want to find out what files are older than - let’s say - ten years and still residing on your hard drive, do a cd /find . -mtime +3650 This will search for such files on all your Linux partition and display[...]


Turn off or limit the Recent Documents feature in Ubuntu

If you want to turn off the Recent Documents feature in Ubuntu, all you have to do is create a .gtkrc file in your home directory (if one isn’t already available): touch ~/.gtkrc-2.0 Now paste this line in there: g[...]


How many files?

You can easily find out how many files are in the current directory by typing the following in your Terminal session: ls -l | wc -l [...]