Changes

Jump to: navigation, search

Tutorial7: Installing Linux / Live Linux / Virtualization

13 bytes added, 12:18, 13 February 2021
INVESTIGATION 1: BOOTING KNOPPIX (LIVE LINUX) VIA VIRTUALBOX
# If you encounter errors, make corrections and then re-run the checking script until you receive<br>a congratulations message, and proceed to the next step.<br><br>Although you will be learning to create and run '''shell scripts''' (near the end of this course)<br>to '''automate''' tasks Matrix course , those scripts will only run in a '''command-line''' environment.<br><br>On the other hand, since you are running a '''<u>graphical</u> Knoppix''' Linux distribution on your computer,<br>you can run scripts graphically (including the use of '''dialog boxes''' for ''input'', ''output'', etc.).<br><br>
# Issue the following command to '''download''' a shell script called '''week7-demo-1''' from the Internet:<br><span style="color:blue;font-weight:bold;font-family:courier;">wget <nowiki>https://matrix.senecacollege.ca/~murray.saul/week7-demo-1</nowiki></span><br><br>
# Issue the '''ls''' command to confirm that the file called '''week7-demo-1'''<br>has been downloaded to your current directory.<br><br>
# Issue the following to run this shell script:<br><span style="color:blue;font-weight:bold;font-family:courier;">bash week7-demo-1</span><br><br>What did you notice?<br><br>
# Issue the following Linux command: <span style="color:blue;font-weight:bold;font-family:courier;">ls -l week7-demo-1</span><br><br>Notice there are NO '''execute''' permissions. That is why we have to issue the '''bash''' command<br>followed by shell script name as an argument in order to run the shell script.<br><br>Let's '''<u>add</u> execute permissions''' so we can run this command by name (without using the '''bash''' command).<br><br>
13,420
edits

Navigation menu