Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

whatevei type iam getting this:/usr/bin/ksh: ls: not found

Status
Not open for further replies.

oray

IS-IT--Management
Nov 8, 2004
16
US
,
 
Does /usr/bin/ksh exist (ls /usr/bin/ksh)? Is there another ksh (in /usr/sbin?). Does your $PATH include /usr/bin (echo $PATH). So many questions, so little info. Give us some more to go on, please!
 
Looks like there is a problem with the environment settings - profile,etc.

Check also the security issues .
Do "df" to check that there is no full systems FS.

Long live king Moshiach !
 
This may seem elementary, but does /usr/bin/ksh exist? I guess Ken already asked that, but I'll ask again.
 
Just for fun, type:
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/root/bin:/usr/bin/X11:/sbin:/usr/local/bin
export PATH

Then try your ls command.

If this works for you, create a profile in your home directory

vi ~/.profile

and add those lines to it. This will keep your PATH variable working for your next login.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top