3

I tried to do in tcsh the following:

$ echo $(pwd) 

It does not work.

muru
  • 197,895
  • 55
  • 485
  • 740
Josef Klimuk
  • 1,596

1 Answers1

5

Command substitution in tcsh is done using backticks: `...`

~> echo `pwd`
/home/muru
muru
  • 197,895
  • 55
  • 485
  • 740