Wednesday, January 2, 2008

BASIC COMMAND OF LINUX

BASIC COMMANDS
Basic command of linux



  1. Ctrl+Alt+f1 to Ctrl+Alt+f7
  2. This command is use when you want to change the termenal or when you want to jump from one termenal to an other termenal till f6 it use for command line termenal and f7 is use for the Graphical to access the the graphical mode in Linux
  3. #eject
    As you know from the name it use to open the CDROM of your computer


  4. #eject -t
    This command is use for closing of the CDROM.
    command writting method is eject space hypon t




  5. #date
    This command show the current date.



  6. #cal
    This command is use to show the Calender.



  7. #cal 2009
    This command is use to view the complete year calender.



  8. #cal 2009 | less
    This command is use to show complet month of the particuler year.



  9. #clear
    This command is use for clearing the screen.



  10. #histroy
    This command is use to view recently used command.


  11. #logout
    You all know very well this command is use for EXIT.
    from current termenal


  12. #reboot
    This command is use to restart the system.

  13. #reboot -f
    This command is use to restart system Forcly.


  14. #tty
    This command show the login termenal of the user.



  15. #who
    This command show all login user and termenal.



  16. #whoami
    This command show your login termenal.



  17. [root@liaqat~]#
    This is FQDN it is stand for (fully qualified domain name) and it
    is root home directory.


  18. [root@liaqat /]#
    This is the Super user Home.
    Note
    (~)tiled symbol mean Home accont.
    ($)It Means Local User And Home Account.
    (#)It is Super User and Home Account.

  19. #cd /
    This command is use for changing account type.


  20. #cd
    This command is use for coming to home Account.
    we have two kind of Account a:Super user b:Home User

  21. #ll
    This Command show Files in Directory With Permession.


    IMPORTANT Colors
    White Color: This color show the file.


    Blue Color: This Color show the Directory.


    Green Color: This Color show the changed Peression.


    Red Color: This Color show the Redirected Location.



    (-) hypon: This show the file
    d: It Denote the directory permession.




No comments:

Post a Comment