Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7 - VMware

1 byte removed, 09:08, 7 June 2016
no edit summary
|- valign="top"
|colspan="2"|{{Admon/note|Using '''&amp;&amp;''' and '''&#124;&#124;''' Conditional Statements|A very useful trick when running several commands in sequence is to use conditional statments. The '''&amp;&amp;''' conditional will run the subsequent command only if the previous command returns a true (0) exit status, for example:<br>'''./configure && make'''. The '''&#124;&#124;''' conditional will run the subsequent command only if the previous command returns a false (non-zero) exit status, for example:<br>'''./configure &#124;&#124; echo "Houston, we have a problem"'''. These conditional can be combined, for example:<br>'''./configure && make &#124;&#124; echo "Houston, we have a problem"'''}}
 
|}
<ol>
<li value="7">Issue the following command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">./configure && make</span></code></b><br><br>Most likely, you will get an error. What do you think the error is telling you><br></li>
<li>You can use the yum command to install some missing dependencies.</li>
<li>Reissue the <b><code><span style="color:#3366CC;font-size:1.2em;">./configure && make</span></code></b> command. Where you successful? If not, what do you think is missing?</li>
13,420
edits

Navigation menu