CSCI 330 - The UNIX System Shell Substitution and Sequences NIU - Department of Computer Science
Command Substitution command surrounded by back quotes ` The C Shell Command Substitution command surrounded by back quotes ` is replaced by its standard output newlines in the output are replaced by spaces Example: % echo `date` % ls -l `which passwd` CSCI 330 - The UNIX System Copyright Department of Computer Science, Northern Illinois University, 2005
Command Sequence allows series of commands all at once The C Shell Command Sequence allows series of commands all at once commands are separated by a semicolon ; Example: % date; pwd; ls CSCI 330 - The UNIX System Copyright Department of Computer Science, Northern Illinois University, 2005