672 reputation
416
bio website squidoo.com/dannystaple
location London, United Kingdom
age 36
visits member for 3 years, 11 months
seen Nov 19 at 14:27

I've been using Linux since the late 90's, and have had a career involving Solaris, a tiny bit of Irix, and plenty of Linux - mostly operating at the shell scripting and application level.

I currently use XUbuntu for most development, an OSX Desktop on a home PC, and various server setups including RH, FC and Debian.


Oct
25
comment How can I get bash to exit on backtick failure in a similar way to pipefail?
Thanks for this. An experience I had was that some errors caught in a later version of bash, were ignored in earlier versions with set -e. My intent here is to harden scripts to the extent that any non-handled error return/failure condition will cause a script to exit. This is in a legacy system which has been known to produce garbage output files and a "0" happy exit code after a half an hour of chaos with the wrong env - unless you were watching output like a hawk (and not all of the errors are on stderr, some are on stdout, and some parts are /dev/null'd), you just don't know.
Oct
25
awarded  Scholar
Oct
21
comment How can I get bash to exit on backtick failure in a similar way to pipefail?
Not sure about the read trick, attempting it lead to the variable not being bound. I think this may be because the other side of the pipe is effectively a subshell, name won't be available.
Oct
21
awarded  Student
Oct
21
answered How can I get bash to exit on backtick failure in a similar way to pipefail?
Oct
21
asked How can I get bash to exit on backtick failure in a similar way to pipefail?
Sep
25
awarded  Autobiographer
Sep
25
awarded  Analytical
Sep
24
comment Which application should I blame for compulsively creating a directory again and again?
Hence the "you may". The other answers on preventing this, and it being the desktop libraries that are probably responsible make sense. However, were it some file being created like this on a device, I'd start with this method, and failing that, start things with an ld preload and asserting when they tried to create that dir - obviously far too extreme for this question, but fun.
Sep
23
comment Yum Cannot Retrieve Repository CentOS 6
Perhaps you could post the content of /etc/yum.conf, or the output of ls /etc/yum.repos.d. Another handy thing would be to mention any proxy setup etc you use.
Sep
23
answered Which application should I blame for compulsively creating a directory again and again?
Sep
23
answered Download only recently modified files with wget over FTP
Sep
8
awarded  Commentator
Sep
8
comment Do you need a shell for SCP?
So does this mean /bin/false or /bin/true wouldn't work - or only allow sftp?
Jun
9
answered How to monitor or kill a process which has been started by cron?
Jun
7
comment How to monitor or kill a process which has been started by cron?
Questions - which system, which scheduler? cron?
Jun
7
answered How to add packages onto a Fedora live USB
Jun
7
comment How to add packages onto a Fedora live USB
I am currently building an FC13 based CD with a kickstart CD for auto installing - and trying to find out how to pull packages in. It seems merely having the RPM in the Packages folder on the media is not enough. Once I am there, I'll give you what I get.
Jun
6
answered Gentoo versus Funtoo
Jun
1
comment GNU screen: move between regions
Interesting - that sequence defaults to copy - ^[. How are you interacting with the box - local vt or via remote shell session?