- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/bin/ls is replaced by /sbin/ls?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 05:43 AM
тАО12-18-2008 05:43 AM
/usr/bin/ls is replaced by /sbin/ls?
2уАБnow, the 11.31 system running wellя╝Ы
3уАБ is there any bad influence to the system ?
4уАБ shoud i copy a "ls" file from other system to cover the "ls" in /sbin/?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 05:47 AM
тАО12-18-2008 05:47 AM
Re: /usr/bin/ls is replaced by /sbin/ls?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 05:47 AM
тАО12-18-2008 05:47 AM
Re: /usr/bin/ls is replaced by /sbin/ls?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 05:55 AM
тАО12-18-2008 05:55 AM
Re: /usr/bin/ls is replaced by /sbin/ls?
Why would you copy '/sbin/ls' over '/usr/bin/ls' ?
The variations in '/sbin' are intended to by used in single-user mode where '/usr' isn't mounted and thus binaries with dynamically linked libraries that live in '/usr' aren't available.
The variations in '/usr' use dynamically linked libraries and therefore afford a slightly smaller memory footprint (overall) when there are multiple instantiations.
You should maintanin and retain the correct variations.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 05:55 AM
тАО12-18-2008 05:55 AM
Re: /usr/bin/ls is replaced by /sbin/ls?
# whereis ls
ls: /sbin/ls /usr/bin/ls /usr/share/man/man1.Z/ls.1
# file /sbin/ls
/sbin/ls: PA-RISC1.1 shared executable
# file /usr/bin/ls
/usr/bin/ls: PA-RISC1.1 shared executable dynamically linked
You see the difference. I assume it must be in /usr/bin by default. Did you delete it?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2008 12:15 PM
тАО12-18-2008 12:15 PM
Re: /usr/bin/ls is replaced by /sbin/ls?
swverify will be upset. Also ls(1) will take more memory to run. It also won't support locales.
The question is why do this, as JRF asked?