Alexander Mills's user avatar
Alexander Mills's user avatar
Alexander Mills's user avatar
Alexander Mills
  • Member for 8 years, 7 months
  • Last seen this week
37 votes
10 answers
40k 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?

26 votes
3 answers
3k views

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

26 votes
4 answers
26k views

Listen for exit of process given pid $$

25 votes
1 answer
18k 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
40k 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
7 answers
6k views

Log exit code of command, similar to time command

12 votes
2 answers
17k views

Change buffer size of named pipe

11 votes
4 answers
9k views

grep - exit with 1 - if match

11 votes
3 answers
14k views

Append argument to arguments list

11 votes
3 answers
9k views

unshift args after calling shift 1

10 votes
3 answers
2k views

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

10 votes
1 answer
6k views

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

10 votes
1 answer
4k views

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

9 votes
2 answers
13k 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
3k views

Display webpage with unix domain socket

9 votes
4 answers
9k views

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

9 votes
1 answer
4k views

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

8 votes
2 answers
4k views

How to cat named pipe without waiting

8 votes
1 answer
2k views

How to redirect to a file from a heredoc

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
11k 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