Posts Tagged ‘linux’

Reboot on kernel panic

Anyone who runs Linux servers remotely knows that you can do almost ANYTHING from the CLI. One of the more tricky things to do is install a new kernel. Too often, if there is an error in the new kernel build the machine will kernel panic and lock up.
The only way [...]

read more

Restricting crontab

crontab is a scheduling system available on most linux distributions
Sometimes users will create cron jobs that will slow a server down. Access to cron can easily be restricted to all users but the administrator by editing /etc/cron.allow
If, for example, root and only one person (with username user) should be the only ones [...]

read more

Linux Directory Structure

To a Windows user the Linux Directory Structure can seem very foriegn. Here is a quick synopsis of the standard top level Directory Structure on a standard Linux box.
/ : The top level directory in the system. This is often called the root directory, because it is the ‘root’ of the filesystem, though there is, [...]

read more

Configure the linux to write corefiles as core.pid?

If you dump core files you can run into a problem where multiple core files are dumped and one will overwrite the others. One solution to this problem is to change the Linux kernel so it will dump core to a file named core.pid .
Starting in the 2.4.x kernel series this can be accomplished by [...]

read more

Bash Tutorial

OK, this one is for the techies out there. Found a great bash tutorial the other day and thought I’d share it.
It doesn’t have just the standard lame stuff, I actually learned quite a bit. Things like
!xyz:p will print the command that would be executed rather than executing it
and
!$ is the “end” [...]

read more