Print service provided by iDogiCat: http://www.idogicat.com/
home logo





Home > IT > System Administration > Useful Linux Tips

Useful Linux Tips

iDog

File System

  • Automatically Mount Partitions: edit /etc/fstab, add partitions to mount.

/dev/hda8 /harddisk/data ext3 defaults 1 1
/dev/hda12 /harddisk/web ext3 defaults 1 1

  • Bash timeout: set TMOUT in following way, make bash exits after the specified seconds without any operation.
export TMOUT=<timeout_in_seconds>