Solved

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

Posted on 2009-07-06
1
230 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 200 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add some character at the end of line in vi 7 80
CentOS 7 Installation 7 75
expectj telnet failing 5 37
awk sed variable in file 3 40
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

823 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