Для csh
и tcsh
вы можете set verbose
или set echo
(или вы можете даже установить оба, но это может привести к некоторому дублированию в большинстве случаев).
Опция verbose
печатает почти то же самое выражение оболочки, что и вы.
Опция echo
больше указывает на то, что будет выполнено при порождении.
http://www.tcsh.org/tcsh.html/Special_shell_variables.html#verbose
http://www.tcsh.org/tcsh.html/Special_shell_variables.html#echo
Special shell variables
verbose
If set, causes the words of each command to be printed, after history substitution (if any). Set by the -v command line option.
echo
If set, each command with its arguments is echoed just before it is executed. For non-builtin commands all expansions occur before echoing. Builtin commands are echoed before command and filename substitution, because these substitutions are then done selectively. Set by the -x command line option.