Monthly Archives: January 2010

Keep Your SSH Session Running when You Disconnect

“Screen is like a window manager for your console. It will allow you to keep multiple terminal sessions running and easily switch between them. It also protects you from disconnection, because the screen session doesn’t end when you get disconnected. … Continue reading

Share
Posted in Linux Tricks | Leave a comment

Check your Disk Usage on Ubuntu from the command line

“Ubuntu Linux, like all unix varieties, includes the du command line utility. du stands for Disk Usage, as I’m sure you assumed. Go ahead, just type the command in your home directory: geek@ubuntu-desktop:~$ du 8 ./.gconf/desktop/gnome/accessibility/keyboard 12 ./.gconf/desktop/gnome/accessibility 8 ./.gconf/desktop/gnome/screen/default/0 … Continue reading

Share
Posted in Linux Tricks | Leave a comment

Backup MySQL Database to a file

“Backing up your database is a very important system administration task, and should generally be run from a cron job at scheduled intervals. We will use the mysqldump utility included with mysql to dump the contents of the database to … Continue reading

Share
Posted in Linux Tricks | Leave a comment

An interview with Linus Torvalds

“Linus Torvalds, a computer science student at the University of Helsinki in his early twenties, took his first course on Unix and C in the Fall of 1990. In the Spring of 1991 Linus was running Minix (a small Unix-like … Continue reading

Share
Posted in About LPI | Leave a comment

Linux Time Line

“Ready? Here we go: August 1991 “Hello everybody out there using minix – I’m doing a (free) operating system (just a hobby, won’t be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and … Continue reading

Share
Posted in Reviews | Leave a comment

Advanced Tips for Search-and-Replace in Linux

Let’s say that you’ve just decided to rename a variable from foo to fooOne. In Vim, hit Esc for command mode, then use this command: :%s/foo/fooOne/g % means that the operation should be carried out throughout the whole document. The … Continue reading

Share
Posted in About LPI | Leave a comment

Hardening the OpenSSH Server for Password Logins

This is easy, just changing a few lines in /etc/ssh/sshd_config: Port 2022 PermitRootLogin no AllowUsers [usernames or groups separated by spaces] ListenAddress 192.168.1.1 ClientAliveInterval 3600 Remember to restart sshd whenever you change the configuration file. Specifying an alternate port reduces … Continue reading

Share
Posted in Linux Tricks | Leave a comment

Upgrading: x64 edition, version 7 to version 8

Warnings: * This upgrade path is for the x64 Edition only, from a Mint 7 Gloria system to a Mint 8 Helena system. * There is no guarantee that it will work for you. In fact this is quite a … Continue reading

Share
Posted in About LPI | Leave a comment

Configuring Strong Wi-fi (802.1x) Authentication in Linux

In this tutorial series, we’ll first see how 802.1X authentication fits into the big picture of wireless LAN security. Then we’ll configure the authentication settings in Ubuntu. Lastly, we’ll review the manual configuration of 802.1X supplicants. Lets get started! The … Continue reading

Share
Posted in Linux Tricks | Leave a comment

BASH Tips Again

Here are some tips for working in the shell that I use on a daily basis. These may be known to most veterans, please contribute your favorite shortcuts to the comments. But for the most part this is not for … Continue reading

Share
Posted in Linux Tricks | 1 Comment