Weijun Zhou's user avatar
Weijun Zhou's user avatar
Weijun Zhou's user avatar
Weijun Zhou
  • Member for 6 years, 1 month
  • Last seen this week
  • Hong Kong
29 votes
2 answers
4k views

What is the difference between `a[bc]d` (brackets) and `a{b,c}d` (braces)?

18 votes
5 answers
7k views

What are some cases that the number of spaces do matter in bash (or other shell) scripts

16 votes
2 answers
5k views

How are double quotation marks in bash matched (paired)?

13 votes
1 answer
770 views

Why are spaces not needed around some string comparison operators in conditional expressions in bash?

11 votes
3 answers
7k views

Perform sed operations on given line numbers

9 votes
2 answers
2k views

How to find out the version number of `dash` without resorting to package management systems?

9 votes
4 answers
716 views

Where are the commands available in the man page window documented, and are these commands system-dependent?

5 votes
1 answer
1k views

Interrupt shell command line expansion

4 votes
2 answers
1k views

Why is `sed` no op much faster than `awk` in this case

3 votes
2 answers
2k views

Pipeline as parallel command

3 votes
1 answer
848 views

When is apt prompting for user confirmation and if it does so, when does it default to "yes"

1 vote
2 answers
677 views

Run command from history with parameters

1 vote
1 answer
777 views

Different behavior using tab completion from executing `ls`

1 vote
1 answer
631 views

Modify bash history from inside subshell in an interactive session

1 vote
1 answer
160 views

How to properly sandbox a program that may hang the computer

0 votes
1 answer
427 views

Relationship between the multiple possible configuration of domain name servers

0 votes
2 answers
176 views

Recursively copying a folder to an empty subfolder

0 votes
1 answer
173 views

Make a `ln -s` that checks for broken symbolic links

0 votes
1 answer
2k views

How to use grep to get the matching part only, without introducing extra newlines

0 votes
1 answer
667 views

How to match either `[` or `]` (brackets) with regular expression?