OPS145 Lab 9 Newversion: Difference between revisions

From Littlesvr Wiki
Jump to navigation Jump to search
(Created page with "= Also = =Submit evidence of your work= After you finish the lab: run the following commands to submit your work:<syntaxhighlight lang="bash"> cd ~ wget http://ops345.ca/check/ops145-lab9-check.sh # Download the check script chmod 700 ops145-lab9-check.sh # Make the downloaded file executable ./ops145-lab9-check.sh # Run the check script </syntaxhighlight>If it says "Your lab9 has been submitted": make a screenshot, and you're done. If it gives you any warnings or er...")
 
Line 1: Line 1:
= Also =
= Also =


 
* Execute permissions
* Shebang
* Can run the same commands
* echo
* date
* temp files
* script2:
** delete directory
** create directory tree
* script3 extended from script2:
** fill up tree with files
** create tarball
* <br />


=Submit evidence of your work=
=Submit evidence of your work=

Revision as of 11:53, 23 March 2024

Also

  • Execute permissions
  • Shebang
  • Can run the same commands
  • echo
  • date
  • temp files
  • script2:
    • delete directory
    • create directory tree
  • script3 extended from script2:
    • fill up tree with files
    • create tarball

Submit evidence of your work

After you finish the lab: run the following commands to submit your work:

cd ~
wget http://ops345.ca/check/ops145-lab9-check.sh # Download the check script
chmod 700 ops145-lab9-check.sh # Make the downloaded file executable
./ops145-lab9-check.sh # Run the check script

If it says "Your lab9 has been submitted": make a screenshot, and you're done. If it gives you any warnings or errors: you have to fix them and try the ./ops145-lab7-check.sh command again.