Wednesday, 29 September 2010

How to open a KDE file manager

To open a KDE file manager


       $ konqueror --profile filemanagement

Tuesday, 28 September 2010

Monday, 27 September 2010

Sunday, 26 September 2010

Saturday, 25 September 2010

How to add an iso image in repository

To add an iso image in repository,first you must mount the iso image then go to(generally requires root privileges)


    $ nano /etc/apt/sources.list    

then write this command :
   
    deb file:/media/iso/ lenny main contrib

Friday, 24 September 2010

How to mount an ISO image

Make a location to mount an ISO image
      
          $ mkdir /media/iso

To mount an iso image (generally requires root privileges).

         $ mount -t iso9660 -o loop filename.iso /media/iso
         

Thursday, 23 September 2010

How to print the number of characters, words, and lines

To print the number of lines,characters and  words  in the specified files.


        $ wc filename

Wednesday, 22 September 2010

How to print a message to each user

To print a message to each user except those who've disabled message reception.


         $ wall

          Type Ctrl-D to end the message.

Tuesday, 21 September 2010

Monday, 20 September 2010

Sunday, 19 September 2010

How to Unmount the specified filesystem

To unmount the specified file system (generally it requires root privileges).

       $ umount device

Saturday, 18 September 2010

How to print a network path to the host

Uses echo requests to determine and print a network path to the host.

        $ traceroute host

Friday, 17 September 2010

How to print the display of system processes

To print a display of system processes that's continually updated until the user presses the q key.

           $ top

Thursday, 16 September 2010

Tuesday, 14 September 2010

How to launche a program that allows a chat-like

To launch a program that allows a chat-like dialog with the specified user.

        $ talk user

Monday, 13 September 2010

How to complete all pending input/output operations

To complete all pending input/output operations (it requires root privileges).

          $ sync

Sunday, 12 September 2010

How to disables use of the specified device for swapping

To disable use of the specified device for swapping (it requires root privileges).


       $ swapoff device

Saturday, 11 September 2010

How to use of the specified device for swapping

To enable use of the specified device for swapping (it requires root privileges).


        $ swapon device

Tuesday, 7 September 2010

How to pause the command interpreter to pause

To cause the command interpreter to pause for the specified number of seconds.


        $ sleep time

Monday, 6 September 2010

How to Shutdown the system after a number of minutes

To shutdown the system after the specified number of minutes elapses (requires root privileges). The -r option causes the system to be rebooted once it has shut down.

       $ shutdown minutes
       $ shutdown -r minutes

Sunday, 5 September 2010

How to reset the terminal status

To clear the terminal screen and resets the terminal status.

       $ reset

Saturday, 4 September 2010

How to Display the processes associated with the current userid

To display the processes associated with the current user id or displays a description of each process.


          $ ps
        $ ps -Aux

Friday, 3 September 2010

How to change the current user's password

To change the current user's password, or that of the specified user (requires root privileges). The command prompts for the new password.


            $ passwd
          $ passwd user

Thursday, 2 September 2010

How to create a Linux swap space on the hard disk

To create a Linux swap space on the specified hard disk partition (requires root privileges).

       $ mkswap device

Wednesday, 1 September 2010

How to cancel printing of the specified print queue entries

To cancel printing of the specified print queue entries. Use lpq to determine the contents of the print queue.

       $ lprm job