Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSCI The UNIX System Shell Substitution and Sequences

Similar presentations


Presentation on theme: "CSCI The UNIX System Shell Substitution and Sequences"— Presentation transcript:

1 CSCI 330 - The UNIX System Shell Substitution and Sequences
NIU - Department of Computer Science

2 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 The UNIX System Copyright Department of Computer Science, Northern Illinois University, 2005

3 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 The UNIX System Copyright Department of Computer Science, Northern Illinois University, 2005


Download ppt "CSCI The UNIX System Shell Substitution and Sequences"

Similar presentations


Ads by Google