946 reputation
411
bio website github.com/dubiousjim
location
age
visits member for 3 years, 8 months
seen Sep 11 at 23:24

Feb
16
awarded  Yearling
Jan
3
awarded  Nice Answer
Dec
5
comment rsync directory and contents to new location and owner
The / after ops makes a difference, but saying it's "important" makes it sound like it's definitely wanted. It may or may not be wanted. I didn't see enough in the orig question to settle that.
May
29
comment Canonical paths: why are they needed?
Thanks, I meant could you expand on the parentheses :-).
May
29
comment Canonical paths: why are they needed?
Can you expand on #1?
Mar
19
awarded  Critic
Feb
16
awarded  Yearling
Feb
8
awarded  Revival
Jan
14
comment How to grep a text recursively on BusyBox 1.0?
Actually, my BusyBox find does accept -exec ... +, though it treats it the same as -exec ... \;. Not sure if this is a configurable option. Not very useful, but it does make some scripts written for other systems a bit more portable.
Jan
13
comment How can I get bash to exit on backtick failure in a similar way to pipefail?
"For example, all of ash, bash, pdksh, ksh93 and zsh exit without displaying foo on the following examples": BusyBox ash doesn't behave that way, it displays the output as per spec. (Tested with BusyBox 1.19.4.) Nor does it exit with set -e; (cd /nonexisting).
Jan
12
comment chmod - change permissions on a file
As is emphasized on the page you link to, chroot doesn't provide the security that BSD jails do, and it might help if we stopped talking informally of "chroot jails". (AFAIK no-one uses that phrase officially either.) If the code might be malicious and deliberately try to escape a chroot, this won't give you any protection. But there are many use cases where that's not a concern; you just want to protect against possibly broken code, etc. In those cases a chroot is a good solutions.
Jan
12
comment Suggested setup for an ultra-lightweight text-based programming environment in linux
@MichaelDurrant see the vim help topic "windows.txt".
Jan
11
comment What is `--` called?
I just pronounce it "--".
Jan
11
comment Having problem using sed | Trying to replace a line
Yes or you could also use single quotes on the inside, which would work better in some circumstances (and worse only in the circumstance that your working directory name includes single quotes).
Jan
6
answered How to diff two folders by inodes
Jan
6
comment Fixed mount point of external usb hdd
It will work fine for transient connections too. The device is just skipped if it's not available when init invokes mount -a. When the device is available, just do mount /mnt/point, using the mountpoint specified in /etc/fstab.
Dec
31
comment Suggested setup for an ultra-lightweight text-based programming environment in linux
Much of what you say here may be useful, but one thing is off: vim can readily split panes both horiz and vertically.
Dec
19
comment Storing a list in a variable
"... especially ls -r *": you mean ls -R *.
Dec
19
comment Where to find printf formatting reference?
Just to make it explicit: the shell printf command supports only a subset of the specifiers detailed in man 3 printf.
Dec
19
answered Storing a list in a variable