Tuesday 8 May 2012

My Own Line

Don’t act to satisfy others…Be true to your beloved ones…

Monday 7 May 2012

How to mount pendrive in Linux/Unix/Centos

In shell, Enter as superuser(root) mode by using command: su -
Then
  • type command: fdisk -l
This will list the memory device that are connect to system as follows: /dev/hda1,/dev/hda2 and pendrive as follows: /dev/sda1 or /dev/sdb1
  • then create directory /mnt by using command
  • mkdir urfolder
Before that move to /mnt folder by issuing this command:
cd /mnt
  • Then use command: mount /dev/sda1 /mnt/urfolder
/dev/sda1 that you got by issuing the command fdisk -l
  • Now you can access your pendrive in /mnt/urfolder
To unmount the pendrive:
  • Give umount /dev/sda1