Linux Tips and Advice
We're pleased to be able to share some tips from our experience of working with Linux.
-
Changing Console Fonts In Debian Squeeze
Debian 6.0, aka "Squeeze", uses Grub2, which in turn uses a different method of handling console fonts from the older Grub Legacy method. The default is a rath...
read more -
How To Discover Which Files Your Command Will Affect
Using globs at the Linux command line is a powerful way of selecting multiple files, the most common globs being * which matches zero or more characters, ? whic...
read more -
How To List Locally Installed Perl Modules
Perl developers often install modules from CPAN rather than by using the distributions' own packages (which, for some Perl modules, may not be available). Shoul...
read more -
How To Insert One Landscape Page Easily In Open Office
Ever tried to insert one landscape page in an Open Office document consisting of mostly portrait pages? By default, harder than it should be, but there is a way...
read more -
How To Kill Multiple Processes
cron gone mad? Lots of backup processes on your server? There are a number of way to kill multiple processes on a Linux server when normal daemon shutdown proc...
read more -
How To Generate Passwords
Secure passwords can be generated with the pwgen command. By default, it will print 160 8 character passwords, but for demonstration purposes we’ll limit ...
read more -
How To Set The System Date And Time
Normally the date and time on a Linux system are kept synchronised with time servers on the Internet by the ntp (Network Time Protocol) daemon, and it is genera...
read more -
Get Notified With Every SSH Login
You can be notified every time someone logs into your server via ssh (secure shell). Assuming your users run the bash shell, put the following in /etc/profile:...
read more -
Delete Files Over A Certain Age
We can use the find command to carry out actions on a selection of files. For example: find /path/to/files* -mtime +5 -exec rm {} \; How it works The fi...
read more


