Alexander Mills's user avatar
Alexander Mills's user avatar
Alexander Mills's user avatar
Alexander Mills
  • Member for 8 years, 9 months
  • Last seen this week
40 votes
10 answers
41k views

Collect exit codes of parallel background processes (sub shells)

31 votes
2 answers
3k views

Is there any sh code that is not syntactically valid bash code?

27 votes
3 answers
3k views

Any command in my terminal that exits with non-zero code closes my terminal window

26 votes
4 answers
27k views

Listen for exit of process given pid $$

26 votes
1 answer
19k views

tar --list only top level files and folders

24 votes
3 answers
18k views

Implicit return in bash functions?

22 votes
2 answers
5k views

What prevents stdout/stderr from interleaving?

20 votes
6 answers
41k views

Compare two file modification dates

15 votes
2 answers
21k views

One line env variable set behavior [duplicate]

14 votes
2 answers
7k views

`set -e` inside a bash function

12 votes
3 answers
15k views

Append argument to arguments list

12 votes
7 answers
7k views

Log exit code of command, similar to time command

12 votes
2 answers
18k views

Change buffer size of named pipe

11 votes
4 answers
9k views

grep - exit with 1 - if match

11 votes
3 answers
9k views

unshift args after calling shift 1

11 votes
1 answer
3k views

How to redirect to a file from a heredoc

10 votes
3 answers
2k views

Why is sh (not bash) complaining about functions defined in my .bashrc?

10 votes
4 answers
9k views

echo names and values of all env variables that start with "nlu_setting"

10 votes
1 answer
6k views

Difference between `kill -9 <pid>` and `kill -INT <pid>`?

10 votes
1 answer
5k views

Warning find: warning: you have specified the -maxdepth option after a non-option argument

9 votes
2 answers
14k views

Send EOF to named pipe - cleaning up / drying up fifo

9 votes
4 answers
4k views

back ticks vs double quotes

9 votes
1 answer
4k views

If no input is given to xargs, don't let xargs run the utility [duplicate]

9 votes
1 answer
3k views

Display webpage with unix domain socket

8 votes
2 answers
5k views

How to cat named pipe without waiting

8 votes
1 answer
19k views

what is the difference between >&2 and &>2 [duplicate]

8 votes
1 answer
7k views

Bash script is not inheriting its parent's env

7 votes
3 answers
6k views

Communicate backwards in a pipe

7 votes
1 answer
12k views

Will a systemd service automatically manage it's logs (do log rotation etc)

6 votes
2 answers
9k views

echo list / array to xargs

1
2 3 4 5
11