Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is /usr and /usr/bin a "HARD LINK" for user tools?

Posted on 2009-07-06
1
Medium Priority
?
237 Views
Last Modified: 2013-12-06
RHEL5.  Also what about /usr/sbin ? I thought /sbin was only for root or admins and contained special priviledge tools or programs?  Thanks.
0
Comment
Question by:Sp0cky
1 Comment
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 800 total points
ID: 24785203
Hi,

To see if any directory is actually a link to another one you can use the command:

ls -ald

knd it will have a "l" chararacter at the beginning of the permissions. /usr and /usr/bin are not hardlinks but actual directories themselves.

/sbin contains sysadmin programs and only added to the path for system administrators. Most of them requires sysadmin privleges to run.

Chers,
K.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question