Find the answer to your Linux question:
Results 1 to 6 of 6
hi guys, firstly is there a forum just for command line? where is the best place to just post command line questions???...as i will always have many. i dont understand ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2012
    Posts
    56

    command line help please...


    hi guys,

    firstly is there a forum just for command line? where is the best place to just post command line questions???...as i will always have many.

    i dont understand this command:

    ls -p /usr /bin/ls

    ls -p is understandable..its the file type display...but /usr /bin/ls???
    i dont understand...please can you clarify this

    please

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello

    I've always liked the tutorial at LinuxCommand.org


    There is also a database full of Linux commands that can be accessed here:

    Linux Command Directory - O'Reilly Media


    Edit: oops... almost forgot about the excellent tutorial that can be found here:

    http://www.ee.surrey.ac.uk/Teaching/Unix/


    I don't think any of those have an actual command line forum, though.
    Last edited by oz; 01-31-2013 at 09:59 PM.
    oz

  3. #3
    Just Joined!
    Join Date
    Dec 2012
    Posts
    56
    thanks for that info...did you see the command i didnt understand later in my post...again thanks for the links!!!

  4. $spacer_open
    $spacer_close
  5. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,653
    Code:
    elija@orac ~ $ ls -p /usr /bin/ls
    /bin/ls
    
    /usr:
    bin/  games/  include/  lib/  lib32/  local/  sbin/  share/  src/
    The -p switch simply adds a / to the end of directories. Having multiple paths in the ls command will list items that match each parameter. Another good way to get help is man as in man ls. man pages tend to be written by the programmers so they are definitive but can be a bit dry at times.
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  6. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by elija View Post
    Another good way to get help is man as in man ls. man pages tend to be written by the programmers so they are definitive but can be a bit dry at times.
    True... if you can get used to the formatting and written style of manual pages, they are the quickest and most accessible route to help when you are already right there, on the command line.

    j0n1n, to quickly access manual pages for commands, just check them as follows:

    Code:
    man command_name
    oz

  7. #6
    Just Joined!
    Join Date
    Dec 2012
    Posts
    56
    thanks for all the help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •