534 reputation
311
bio website
location Surrey, United Kingdom
age
visits member for 3 years
seen Jul 28 at 10:00

Jul
8
comment How to access windows file server from linux
Only as secure as where the command-line is. If you're putting them in a script then they are as secure as the permissions in that script. There is an alternative which is to use a credentials file. This is described here.
Jul
8
comment How to access windows file server from linux
They do indeed. sorry I just pasted from the OP. I've updated the answer.
Jul
8
revised How to access windows file server from linux
change \ to /
Jul
8
answered How to access windows file server from linux
Jul
2
awarded  Curious
Jun
30
comment why would curl and wget result in a 403 forbidden?
@bob - yes I found that. It took me a few minutes as it wasn't something. Firebug has Copy as CURL now but it would be nice to see it the native tools too.
Jun
29
awarded  Nice Question
Jun
29
comment why would curl and wget result in a 403 forbidden?
I tested without cookies in Firefox by opening a private browsing window and, as expected I got the 403 error. Interesting that you don't get the error in a new tab. In Chromium, a new tab returns the 403.
Jun
29
comment why would curl and wget result in a 403 forbidden?
This helped immensely, especially the tools in Chrome. When I tried in firefox, the request header after the 302 was all I could see. In Chromium I could see both and this gave me the info to solve the problem.
Jun
29
comment why would curl and wget result in a 403 forbidden?
This gave me the clue I needed. After trying cookies, I found the referrer to be the problem (now, if only that could be spelt properly!!!)
Jun
29
accepted why would curl and wget result in a 403 forbidden?
Jun
29
revised why would curl and wget result in a 403 forbidden?
updated with explanation after answers
Jun
28
asked why would curl and wget result in a 403 forbidden?
Jun
27
awarded  Yearling
Jun
26
awarded  Supporter
Jun
26
comment can regex capture groups be used in GNU find command?
I expected the simple answer to be No given copious amounts of searching and reading man pages before asking the question. The answers provide interesting alternaive ways to achieve the desired output.
Jun
26
accepted can regex capture groups be used in GNU find command?
Jun
26
comment can regex capture groups be used in GNU find command?
This works great. I changed the sed field separator to a colon so more complex expressions that I have which include pipes also work. Thanks for taking the time to answer.
Jun
26
comment can regex capture groups be used in GNU find command?
When I used this, I got newlines embedded because the grep expression matches two parts. I guess the expression could be fixed but using cut sorts it. However, it's brittle: say the file was mypackage-other the fied numbers would be out. The other answer may be less efficient (not really an issue here) but it does work.
Jun
26
asked can regex capture groups be used in GNU find command?