Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1

29 bytes removed, 17:02, 9 September 2018
no edit summary
<ol>
<li value="7">Launch a text editor (such as <b><code><span style="color:#3366CC;font-size:1.2em;">vivim</span></code></b> or <b><code><span style="color:#3366CC;font-size:1.2em;">nano</span></code></b>) to create a Bash Shell script called: <b><code><span style="color:#3366CC;font-size:1.2em;">myreport.bash</span></code></b> in your current directory.</li>
<li>Copy and paste the text below into your vi editing session for your file report.bash<br> (how do you copy and paste efficiently in Linux?)<br></li></ol>
<br>
<code style="color:#3366CC;font-family:courier;font-size:.9em;font-weight:bold;">
echo >> /root/report.txt<br>
echo "Hostname: $(hostname)" >> /root/report.txt<br>
echo >> /root/report.txt<br>
::<span style="color:green;font-size:1.5em;">&#x2713;</span> Run the '''lab1-check.bash''' script in front of your instructor (must have all <span style="color:#66cc00;border:thin solid black;font-size:1.2em;">&nbsp;OK&nbsp;</span> messages)
::<span style="color:green;font-size:1.5em;">&#x2713;</span> Proof that c7host VM is set for '''virtualization''' (Refer to: '''INVESTIGATION 1''' - '''Part 1''' - '''Step #2829''')
::<span style="color:green;font-size:1.5em;">&#x2713;</span> '''Lab1 logbook''' containing the values for:
:::* '''IP address''', '''MAC address''', '''Default route (gateway)''' and<br>'''DNS name server IP Address'''