Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7 - VMware

772 bytes added, 08:50, 7 June 2016
no edit summary
<li>Extract the files. Change to the newly-extracted directory (<b><code><span style="color:#3366CC;font-size:1.2em;">/tmp/nled-2.52</span></code></b>)</li>
<li>Check to see if there is a file named <b><code><span style="color:#3366CC;font-size:1.2em;">configure</span></code></b>. If so, run it; if not, skip this step. (Most but not all source code archives contain this file)</li>
</ol>{| width="40%" align="right" cellpadding="10"|- 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: '''./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: '''./configure &#124;&#124; echo "Houston, we have a problem"'''. These conditional can be combined, for example: '''./configure && make &#124;&#124; echo "Houston, we have a problem"'''}}  |} <ol><li>Check to see if there is a file named <b><code><span style="color:#3366CC;font-size:1.2em;">Makefile</span></code></b> or <b><code><span style="color:#3366CC;font-size:1.2em;">makefile</span></code></b>. If so, type the command:
<ul>
<li><b><code><span style="color:#3366CC;font-size:1.2em;">make</span></code></b></li>
13,420
edits

Navigation menu