Category: Linux

Check for Bad Blocks in HDD

Linux Command to search the Harddisk for bad sectors sudo badblocks -v /dev/sda

Scheduled Shutdown In Linux

Shutdown the system after a specified time. shutdown -h hours:minutes &

Linux Command to Erase Rewritable CD

Erase a Rewritable Disk cdrecord -v gracetime=2 dev=/dev/cdrom -eject blank=fast -force

Force an Unmount

Force umount when the device is busy fuser -km /mnt/hda2

Show USB devices

Linux command to show all USB Devices lsusb -tv

Create a Sound File from a Text

You can create a wav file of a written text using this command echo “It’s such a beautiful day! Why…

Create a Directory Tree in One Command

You can create a directory tree using just one command in Linux mkdir -p /tmp/dir1/dir2

Using Dvorak in Linux Console

If you are a user of the dvorak layout, this command will let you use that layout in the console……

Using Range in Commands

Show files and directory containing numbers ls *[0-9]*

Install Java JRE in Linux and Use it as a Firefox Plugin

Download the installer from http://www.java.com/en/download/manual.jsp cd /usr/local/ mkdir java cd java sh /home/user/location_of_jre_installer/jre-6u3-linux-i586.bin cd /usr/local/firefox/plugin/ [The folder where firefox is…