25th July 2009
in
GNOME, cli
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[...]
Tags: files, GNOME, password
16 Comments
11th July 2009
in
System, cli
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[...]
Tags: age, files, search
2 Comments
7th July 2009
in
GNOME
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[...]
Tags: files, GNOME. Recent Documents
10 Comments
21st February 2009
in
cli
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
[...]
Tags: files
2 Comments