0

How to change dir from output of previous 2 cmd ? In bash it would be something like:

cd $(whereis evince | awk '{print $2}')

I need this in tcsh Just can't find examples. Reading man wasn't helpful. Thank you.

0

tcsh uses backticks :

cd `whereis evince | awk '{print $2}'`
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.