Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

There are 8 articles from this person

8 of 390 articles shown, currently no other people reading this forum.

UWA week 24 - 1st semester, 1st exam week

photo Re: lec # wk 10 File Attributes - Square Bracket command external or internal (all 14)
Tue 9th Jun, 9:01pm, Alastair H.  O.P.
thanks Chris, I assume you mean expr?
photo lec # wk 10 File Attributes - Square Bracket command external or internal (all 14)
Tue 9th Jun, 11:15am, Alastair H.
The lecture states that historically the shell didn't have many things built into it, like the square bracket command and ls. In modern times, does the square bracket command now sit within the shell? - or is it still external. I wonder because it looked...

UWA week 21 - 1st semester, week 11

photo Re: sed changing rw to r permissions on files in WSL (all 7)
Fri 22nd May, 9:53am, Alastair H.  O.P.
Thanks all for your input, it does seem to be an issue with file permissions in windows, independent of Bash. Folders marked read only, revert back to read only immediately after being unchecked, so it could have something to do with a recent update....
photo Re: sed changing rw to r permissions on files in WSL (all 7)
Fri 22nd May, 5:12am, Alastair H.  O.P.
Thanks Maktoom, if I run the command with sudo - it works fine, and doesn't change the file permissions. So yes it would seem that the temp file sed creates is tripping me up somewhere in windows file permissions.
photo sed changing rw to r permissions on files in WSL (all 7)
Thu 21st May, 9:55pm, Alastair H.
I'm in WSL and experiencing an issue with sed - with -i to edit inline and overwrite the file ( I believe it does this by creating a temp file initially...) the permissions of the file in question change from rw to read only. Is this normal behaviour?...
photo Re: Error installing Make in Ubuntu Win 10 (all 6)
Thu 21st May, 3:12pm, Alastair H.  O.P.
thanks Lee, yes I was using a VPN. It's up and running now, I reinstalled bash and that seemed to solve it. thanks for following up.
photo Re: Error installing Make in Ubuntu Win 10 (all 6)
Wed 20th May, 11:26am, Alastair H.  O.P.
Thanks Lee, I tried to ping www.archive.ubuntu.com with no success (times out with error message "Temporary failure in name resolution". So I found the used DNS checker to find the IP address of the website above, which is 91.189.88.142 and when I ping...
photo Error installing Make in Ubuntu Win 10 (all 6)
Wed 20th May, 8:53am, Alastair H.
Has anyone seen the following error when trying to install Make with Bash/Ubuntu? "Err:1 https://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 Temporary failure resolving 'archive.ubuntu.com'
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  3:57pm Aug 06 2020