- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- RHEL 5.3 and executable files
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
тАО08-19-2010 04:40 AM
тАО08-19-2010 04:40 AM
RHEL 5.3 and executable files
On script I can start by just entering it's name but the other only starts when I put ./ infront of it's name.
What going on here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 05:06 AM
тАО08-19-2010 05:06 AM
Re: RHEL 5.3 and executable files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 06:33 AM
тАО08-19-2010 06:33 AM
Re: RHEL 5.3 and executable files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 08:44 AM
тАО08-19-2010 08:44 AM
Re: RHEL 5.3 and executable files
alias | grep <script-that-needs-no-./>
b) or as Larry said the script is also in your $PATH
which <script-that-needs-no-./>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 09:04 AM
тАО08-19-2010 09:04 AM
Re: RHEL 5.3 and executable files
It's not in my path.
(Can't start the script from another folder)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 09:12 AM
тАО08-19-2010 09:12 AM
Re: RHEL 5.3 and executable files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 09:50 AM
тАО08-19-2010 09:50 AM
Re: RHEL 5.3 and executable files
> rights and in the same folder.
As usual, showing actual commands (like, say
"ls -l") with their actual output can be more
helpful than vague descriptions or
interpretations.
> On script I can start by just entering it's
> name but the other only starts when I
> put ./ infront of it's name.
What, exactly, does "not start" mean to you?
As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions or interpretations.
> What going on here?
You tell us? With my weak psychic powers, I
can't tell what you're doing, nor what
happened when you did it, so it's not easy to
guess why.
> It's not an alias.
> It's not in my path.
Which "it" is this?
> (Can't start the script from another folder)
What, exactly, happens when you do what,
exactly?
> "Problem" seems to be bound to the user
> profile. (root)
And what, exactly, led you to that
conclusion? Or should we be able to guess?