Archive for the 'linux hacks' Category

Formatting a Disk Partition from Linux

A partition can be formatted to different file systems. For a pen drive FAT partition is adopted universally. Linux partition is commonly ext3/ext2/ext4/reiserfs.. . Windows usually work with FAT or NTFS partitions. For formatting a partition as FAT ( as in the case of a pen drive ), give the command mkfs.vfat /dev/sdb1 where /dev/sdb1 [...]

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Buzz
  • Google Buzz

Hack your Linux Machine

techtips@techtipsmaster~$ ){ :& };: This statement is actually a infinite forking loop.The parent forks and new child processes are made.The newly defined function calls itself recursively due to ‘:’ and our system gets stuck when all resources are used up and insufficient for the new formed processes.so,once you typed this statement and hits ‘enter’,the only [...]

  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Buzz
  • Google Buzz