Tag: Linux

Check for Bad Blocks in HDD

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

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 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…

Linux Shutdown Commands

Three commands that could be used to shutdown a linux system. shutdown -h now init 0 telinit 0

arch Command

Show architecture of machine $ arch i686 Original Article

Fish Alias/Function Location

The alias/function of the fish shell are stored at ‘/home/username/.config/fish/functions’