?
Solved

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

Posted on 2009-07-06
1
Medium Priority
?
238 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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

621 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