Changes

Jump to: navigation, search

Tutorial7: Installing Linux / Live Linux / Virtualization

2 bytes added, 15:34, 14 February 2021
INVESTIGATION 2: USING THE GRAPHICAL KNOPPIX VM
# 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>
# In the dialog box, click to select a directory and click '''OK'''.<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 file pathname (as an argument ) to run the shell script.<br><br>Let's '''<u>add</u> execute permissions''' so we can run this command by name<br>(i.e. without using the '''bash''' command).<br><br>[[Image:output-dialog.png|thumb|right|200px|Graphical '''output dialog box'''.]]
# Issue the following command to '''add execute permissions''' for everyone for the '''week7-demo-1''' file:<br><span style="color:blue;font-weight:bold;font-family:courier;">chmod +x week7-demo-1</span><br><br>'''FYI:''' This method is a '''quick''' method of adding execute permissions for<br>the '''owner''', '''same group members''' and '''others'''.<br><br>
# Issue the '''ls -l''' command for this file to confirm execution permissions were properly added.<br><br>
13,420
edits

Navigation menu