Operating System - HP-UX
1834527 Members
3124 Online
110068 Solutions
New Discussion

Re: which commang hanging

 
SSP_1
Regular Advisor

which commang hanging

Hi Forum,

Just stuck up whenever I use "which" command. The terminal gets hang. following is the error I am getting :-

root/on/apps=>which
clear: Command not found.

_ Any clues?
Obstacles exist to challenge you to keep going. Not to quit.
5 REPLIES 5
Hartmut Lang
Trusted Contributor

Re: which commang hanging

Try 'whence which' to find out which "which"-command will be executed.
SSP_1
Regular Advisor

Re: which commang hanging

Yeh....it's showing /usr/bin/which . But I am facing the same problem...pl help.
Obstacles exist to challenge you to keep going. Not to quit.
Deepak Extross
Honored Contributor

Re: which commang hanging

Hi,

Run this command and see if anything shows up:
alias | grep which

HTH,
Deepak.
SSP_1
Regular Advisor

Re: which commang hanging

Hi Deepak,

It's showing no output.
Obstacles exist to challenge you to keep going. Not to quit.
Robin Wakefield
Honored Contributor

Re: which commang hanging

Hi,

/usr/bin/which is a csh-script, so it could be a problem with your .cshrc file. Check in this file for the clear command, and check your path is being set correctly.

Rgds, Robin.