via junauza.com
If you are new to Linux, chances are you will meet a stupid person perhaps in a forum or chat room that can trick you into using commands that will harm your files or even your entire operating system. To avoid this dangerous scenario from happening, I have here a list of deadly Linux commands that you should avoid.
more …
via tldp.org
This document is intended to help Linux and Internet users who are learning by doing. While this is a great way to acquire specific skills, sometimes it leaves peculiar gaps in one’s knowledge of the basics ? gaps which can make it hard to think creatively or troubleshoot effectively, from lack of a good mental model of what is really going on.
I’ll try to describe in clear, simple language how it all works. The presentation will be tuned for people using Unix or Linux on PC-class machines. Nevertheless, I’ll usually refer simply to ?Unix? here, as most of what I will describe is constant across different machines and across Unix variants.
more …
A script to take daily, weekly and monthly backups of your MySQL databases using mysqldump. Features – Backup mutiple databases – Single backup file or to a seperate file for each DB – Compress backup files – Backup remote servers – E-mail logs.
more …
via debian.net
Particularly for hard disks, the tool in charge is smartctl from the package smartmontools. IDE disks (if they?re not of the age of dinosaurs) have an integrated self-testing tool called SMART which means ?Self-Monitoring, Analysis and Reporting Technology?. Modern SCSI disks have it too if they?re SCSI 3 or newer. It happens that inside the disk chipset there are routines to check parameters of disk health: spin-up time, number of read failures, temperature, life elapsed? And all of those parameters are not only registered by the disk chipset, but they have designated security limits and both parameters and limits can be checked by software who access the disk using the appropriate I/O instructions.
more …