3

I tried to do in tcsh the following:

$ echo $(pwd) 

It does not work.

muru
  • 193,181
  • 53
  • 473
  • 722
Josef Klimuk
  • 1,566
  • 5
  • 21
  • 36

1 Answers1

5

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

~> echo `pwd`
/home/muru
muru
  • 193,181
  • 53
  • 473
  • 722