Changes

Jump to: navigation, search

OPS235 Lab 2 - CentOS7

39 bytes added, 11:07, 2 April 2015
no edit summary
|- valign="top"
|
{{Admon/tip|Bash Shell Scripting Tips:|<br><ul><li>'''Inputting TextData Input:'''<br><br>x<br><br></li><li>'''Mathematical Expressions:'''<br><br><li>'''Loops (iteration):'''<br><br>x<br><br>'''<u>Examples(Determinant - repetitions known)</u>'''<br><br>'''if [ $USER &#61; "root" ]'set ops235 is fun''<br>'''then'for x''<br>&nbsp;'''echo "You must be root" >&amp;2'do''<br>&nbsp;'''exit1'echo "argument is $x"''<br>'''fi'done''<br><br>'''if [ $age - gt 65 ]'''<br>'''then'''<br>&nbsp;'''echo "retire"'''<br>'''else'''<br>&nbsp;'''echo "don't retire"'''<br>'''fi'''<br><br>'''if [ $grade -gt 79 ]'''<br>'''then'''<br>&nbsp;'''echo "You get Good Mark"'''<br>'''elif [ $grade -gt 49 ]'''<br>'''then'''<br>&nbsp;'''echo "You pass"'''<br>'''else'''<br>&nbsp;'''echo "You fail"'''<br>'''fi'''<br><br></li><li>'''Loops and Testing'''<br><br>x<br>. </li></ul>}}
|}
13,420
edits

Navigation menu