Troubleshooting – LINUX :: Part-3

1

Problem: How to clone a disk to another?

#dd    if=/dev/had     of=/dev/hdb

Explanation: Here had is the source and hdb is the destination.( had is connected to the primary master and hdb is connected to the primary slave) the destination disk capacity should be equel or greater than the source HDD.

Problem: How to show the disk quota of a user

#quota     will return the quota for the user root

Disk quotas for user root (uid 0): none

Problem: How to edit the quota of a user

#edquota   –u     <user name>

Problem: How to print a file

#lpr handbook

Explanation: lpr handbook will send the file named handbook to connected printer

Problem: How to the view the current print queue for a printer

#lpr

lpq will return the current print queue status for the printer on the host

Problem: How to cancel print job

#lprm

Explanation: lprm cancel the current print job from the queue if no other filename or printer is define in the command.

 

———————- Thanks

Share.

About Author

TN365

1 Comment

  1. ARAFATH TASIB
    ARAFATH TASIB on

    WHEN WE GET TROUBLE TO USE LINUX.THEN I HOPE WE WILL SOLVE OUR PROBLEM TO SEE THIS POST..SO THANKS BROTHER.. 🙂

Leave A Reply

Powered by themekiller.com