Make your own midterm study guide on these topics.
1) List the following Shell symbols and describe how they work in regex and how they work in the shell: Your job is to fill in the empty cells with explanations
Symbol
|
Regex
|
Shell (Both Wildcard expansion and Scripting)
|
* Asterisk
|
|
|
$ Dollar Sign
|
|
|
& Ampersand
|
|
|
? Question Mark
|
|
|
| Pipe
|
|
|
.Period
|
|
|
\ Backslash
|
|
|
[ ] Brackets
|
|
|
^ Caret
|
||
> Greater Than Sign
|
2). Compare Shell, Perl and Your language choice (maybe Java) in command syntax
Command
|
Java? | Shell | Perl |
Variables (Declare, Set and Access)
|
|||
Arrays (Declare, Set and Access)
|
|||
if
|
|||
loop (any type)
|
|||
print
|
|||
read
|
3) Unix commands
Command | Description | 2 options and what they mean | any parameters allowed (ex search word , filename - these parms do not have a -option before them) |
wc | |||
cat | |||
ls | |||
egrep | |||
sed | |||
find | |||
sort | |||
uniq | |||
tr |
4) Write your 2 sided HANDWRITTTEN test help to bring to class on Wed to work with before the test.