Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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.:
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now