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.

1 Answer 1

0

tcsh uses backticks :

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .