additional_5

additional_5 - ls * echo * ls chap? echo \* ls chap?? echo...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 7 some additional notes… Metacharacters “” double quote ‘’ single quote `` backquote (command substitution) * Wildcard for 0 or more ? Wildcard for exactly 1 | pipe < redirect input > redirect output . current directory .. parent directory [ch] match one character, in this case c or h [1-10] match one character, in this case a number between 1 and 10 [!c] match one character, in this case anything but c
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Chapter 7 some additional notes… Commands we tried in class on the sample files
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ls * echo * ls chap? echo \* ls chap?? echo \ ls *.* echo the characters |, &lt;, &gt;, and $ are also special ls *.txt echo the characters \|, \&lt;, \&gt;, and \$ are also special ls *.[t]* echo command substitution uses `echo hi!` while term is evaluated using $TERM ls chap[0]* ls chap[1]* ls chap[01]* ls chap[!0]* ls chap[!1]* ls .* ls .?? ls .? Sample files available ~kcooper/public_html/teaching/5375/shell...
View Full Document

Page1 / 2

additional_5 - ls * echo * ls chap? echo \* ls chap?? echo...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online