- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A question about intrinsic command in shell
Operating System - HP-UX
1752765
Members
5039
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО03-01-2007 06:01 PM
тАО03-01-2007 06:01 PM
As we all know,Posix-Shell has its own intrinsics such as ls,cd and so on, while these commands are also available as unix command and exist in the file system(like "ls").So I want to know that when I run "ls" in the shell,which command will it actually run? The shell intrinsics or unix command which locates in the unix file system and prove that?
Thx in advance
Thx in advance
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 06:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2007 07:09 PM
тАО03-01-2007 07:09 PM
Re: A question about intrinsic command in shell
Hi,
please see:
http://www.robelle.com/library/smugbook/whence.html
For Korn shell,I would use whence, which is going to tell you what you are running.
For your Posix, type.
Earlier thread with a similar theme:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=706680
please see:
http://www.robelle.com/library/smugbook/whence.html
For Korn shell,I would use whence, which is going to tell you what you are running.
For your Posix, type.
Earlier thread with a similar theme:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=706680
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2007 02:42 PM
тАО03-02-2007 02:42 PM
Re: A question about intrinsic command in shell
Basically cd has to be builtin. While the shell can do "globbing", to expand wildcards, ls(1) is still done by the command.
Besides Pete's mention of whence, you can look at the sh-posix or ksh man pages and look under "Special Commands" for builtins.
Besides Pete's mention of whence, you can look at the sh-posix or ksh man pages and look under "Special Commands" for builtins.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP