Thursday, 30 August 2012

How to stop receving messages from other user's

To stop receving messages from other user's

   
    $ mesg n


To allow messages from other user,type


    $ mesg y

Saturday, 25 August 2012

Friday, 24 August 2012

How to show the details of hardware system components

To show the details of hardware system components,type


$ dmidecode -q


* Dmidecode means DMI table decoder. It contains a description of
system's hardware components and other useful information such
as serial number and BIOS version. To get the details of the
system components,you have to be a superuser. so type "sudo"
in-front of the command. Example is shown below



Tuesday, 21 August 2012

Sunday, 19 August 2012

How to show USB devices in your system

To show USB devices,type


$ lsusb -tv


* lsusb is a utility to show the usb devices details ,example is
show below


Tuesday, 14 August 2012

How to plan a shutdown of the system

To plan a shutdown of the system, type


$ shutdown -h 16:30 &



To cancel a planned shutdown of the system,type


$ shutdown -c

Wednesday, 8 August 2012

Friday, 3 August 2012

How to remove a service from all runlevels

To remove a service from all runlevels, type

$ update-rc.d -f remove <service_name>

Thursday, 2 August 2012

Wednesday, 1 August 2012

How to hide the user input in terminal

To hide user input in terminal, type

$ stty -echo

To turn on the user input, type

$ stty echo

How to know the ALSA (Advance Linux Sound Architecture) version

To get the ALSA version,type

$ cat /proc/asound/version

Example is shown below