Bug 7467
| Summary: | error running scripts | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Erkan Ertugrul <eertugrul> |
| Component: | tcsh | Assignee: | Eido Inoue <havill> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-12-01 13:11:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Erkan Ertugrul
1999-12-01 08:31:08 UTC
There are two problems here: 1) The asterisk at the end of the file name is added by ls when given the option -F. Try adding alias ls 'ls -F' to your .cshrc 2) Your PATH environment variable does not contain the current directory so tcsh cannot find the filename entered on the command line. Either execute the script as ./filename (the preferred solution) or add the current directory to your PATH setenv PATH "$PATH:." Note: Adding the current directory to the end of your PATH is not recommended because it makes you vulnerable to "trojan horses" (i.e. scripts with the same name as a commonly used executable). |