Find the answer to your Linux question:
Results 1 to 7 of 7
what is the difference between /bin and /sbin. any web pages. thnx in advance....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9

    Cool bin VS sbin


    what is the difference between /bin and /sbin.

    any web pages.

    thnx in advance.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    its simple.. bin is for normal/regular users and sbin is for root user only. in other words, regular users dont have access to binaries of /sbin folder.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    If you have questions about filesystem/directory purposes in the future, have a look at man hier

  4. #4
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9

    Cool thnx

    thnx for reply .
    i'll use "man hier"
    thnx for your note.

  5. #5
    Just Joined!
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    5
    > in other words, regular users dont have access to binaries of /sbin folder.
    They have, but their searchpath misses /sbin, resp. /usr/sbin by default.

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Another valuable resource is the FHS.

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by codejunk
    They have, but their searchpath misses /sbin, resp. /usr/sbin by default.
    No. /sbin is for root user only.
    execute this as regular user
    Code:
    /sbin/fdisk -l
    does it display output?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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