It's UWAweek 48

help2003/help4407

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying the 2 articles in this topic
Showing 2 of 564 articles.
Currently 2 other people reading this forum.


 UWA week 13 (1st semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
9:37pm Sat 2nd Apr, ANONYMOUS

Hi Michael. Sorry, if I ask, but I don't understand why I couldn't make days work. This is the demonstration you did this Monday lecture and I just want to try it by myself. Thanks!!!



This article has 1 attachment:

 

SVG not supported

Login to reply

👍?
helpful
12:51pm Sun 3rd Apr, Michael W.

Hi, There are a couple possible explanations. The first is that, as well as #!/bin/bash at the start, you also need to made the file executable: i.e. chmod u+x days (or chmod 700 days). The other possibility is that the shell doesn't know where to look for the file. If you can do: ./days mon then the current directory (.) is not in PATH so won't be searched as a possible location for the script. Makes sense? Cheers MichaelW

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy