Pages

Wednesday, 24 July 2013

How to Mount Device in Linux and System Commands

How to Mount Device in Linux




How to Mount CD/DVD drive to mnt folder.

#mount /dev/cdrom /mnt press enter ---It will mount the CD/DVD to /mnt folder./

To disconnect.

#umount /mnt press enter ---It will unmount it.

How to mount the pendrive to /mnt folder.

#mount /dev/sdb1 /mnt press enter ---sdb1 is for the pen drive. It will mount the pen drive to /mnt folder. 




System Commands

#system-config-date press enter ---It will show date and calendar.
#system-config-users press enter ---It will open the User manager.
#vim /etc/login.defs press enter ---It keeps information of password policy,userID,groupID.
#system-config-services press enter ---It will show all services.
#system-config-firewall press enter ---It will show firewall configuration.
#system-config-printer press enter ---It will open the printer utility.

#vim /etc/cups/printers.conf press enter ---It shows complete printer information.
#lpr (filename) press enter ---To get printout.
#lpq press enter ---It will show print in queue.
#lpstat press enter ---It will show print in queue.
#lprm 1 press enter ---It will delete the task number 1.
#setup press enter ---It has Authentication, Firmwall, Keywboard, Network, RHN register, system services.

 

No comments:

Post a Comment