Reputation
14,084
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
18 34
Newest
 Good Answer
Impact
~706k people reached

2d
awarded  Good Answer
May
21
reviewed Close Why use mmap over fread?
May
21
reviewed Close Why, by design, are group permissions ignored for the owner of a file?
May
21
revised List of files where the line count is greater than 2
formatting
May
17
awarded  Enlightened
May
17
awarded  Nice Answer
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.