LInux commands?

Discussion in 'Linux Discussion' started by hajjizadeh2002, May 5, 2008.

  1. Where is the linux commands? or whitch directory are saved?
    the commands same as : "pstree","gnome-system-monitor " , "ps",.......
    my mean is the source code of commands.
  2. Similar Threads: LInux commands
    Forum Title Date
    Linux Discussion Can i use the ubuntu linux commands on windows XP? Sep 11, 2008
    Linux Discussion How do I run multiple commands on a Unix/Linux system without a GUI? Jul 3, 2008
    Linux Discussion Any links to get demos of running Linux commands using Terminal!? Jun 11, 2008
    Linux Discussion Linux commands? May 7, 2008
    Linux Discussion Linux commands - need a reminder? May 5, 2008
    Linux Discussion Linux Commands? May 5, 2008
    Linux Discussion Linux Commands? May 5, 2008
    Linux Discussion linux commands? May 5, 2008
    Linux Discussion Linux Commands? May 4, 2008
    Linux Discussion linux commands help? May 4, 2008

  3. You can type: "man bash" in your terminal to check it.

    If you want to locate a specific command,
    Let said you wanna find out where pstree command located,
    (usually in /usr/bin)
    You can type "which pstree", it will show you the path.

    I hope my answer will help you!
  4. generally the command executables are stored in the following directories
    1. /bin
    2. /sbin
    3. /usr/bin
    4. /usr/sbin
    5. /usr/local/bin
    6. /usr/local/sbin
    If you have any reasons to believe that the executables are not stored in the standard directories you can always use 'which'
    just type which <command-name> on a terminal and it will give you the exact location of the command
    eg
    $ which ps
    > /bin/ps

Share This Page