Reputation
13,983
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
16 33
Newest
 Nice Answer
Impact
~662k people reached

Apr
2
answered How to fix “skipping incompatible /usr/lib/libc.a”
Mar
18
comment Creating directories in a loop and moving files to those directories
I agree, knowing what POSIX allows and only then laying back and using whatever one's preferred shell offers is better. However, those of us who mostly write shell scripts for their own use or with have some sort of guarantee that a particular shell will be used usually take the easier way. There always is the threat of the WTF moments when POSIX is the best one has at hand for some reason, but there are costs to both approaches.
Mar
18
comment Creating directories in a loop and moving files to those directories
Well, it is self-explanatory for people with certain level of knowledge - I was afraid your level was a bit above OP's one - and mine as well it seems, for that matter. Which is why I asked about the ! break - I was somehow unable to find it in bash(1) at first (it is in SHELL GRAMMAR - Pipelines for those curious). :)
Mar
12
reviewed Leave Open How to parse json output through shell / Python
Mar
12
reviewed Close Difference between 'echo' and 'echo -e'
Mar
12
comment How to parse json output through shell / Python
In Python? Seriously?! First thing you'll find when you search the internet for "python json parser" is the Python documentation. Please do at least basic searching before asking questions.
Mar
12
revised Understanding network problem (syslog)
formatting
Mar
12
reviewed Looks OK Creating directories in a loop and moving files to those directories
Mar
12
comment Creating directories in a loop and moving files to those directories
Short explanation would be nice (like 1 sentence per line). :) What does the || ! break part do, actually?
Mar
4
revised How can I assign the output of a command to a shell variable?
edited title
Mar
4
reviewed Close How to get current working directory?
Mar
4
reviewed Looks OK I want to condense a list of ranges (from-to)
Mar
4
reviewed Looks OK how to disable flareget from firefox?
Mar
2
comment provide password for script begin called inside another script
First locate what part of the script is issuing the error message. Or paste your script in the question. Chances are you really want to use sudo instead of su - hard coding passwords in scripts is never a good idea.
Mar
1
revised How to add runnable OpenSSH server to an Ubuntu ISO?
edited title
Feb
27
revised Directory permissions for web server
edited body
Feb
24
comment Is there a unix command that gives the maximum of two numbers?
That is exhaustive, thanks!
Feb
24
revised Is there a unix command that gives the maximum of two numbers?
added 139 characters in body
Feb
24
comment Is there a unix command that gives the maximum of two numbers?
Reverse Polish notation (aka Postfix notation). Plus if dc can do the I/O on it's own it would be even more elegant than.
Feb
24
comment unix2dos not recogonizing outfile
these utilities usally work best as filters, i.e. unix2dos < unix_file.txt > dos_file.txt or similar should be the preferred way of using it.