Skip to main content
Peter.O's user avatar
Peter.O's user avatar
Peter.O's user avatar
Peter.O
  • Member for 13 years, 8 months
  • Last seen more than 8 years ago
  • Melbourne, Australia
173 votes
20 answers
89k views

A standard tool to convert a byte-count into human KiB MiB etc; like du, ls1

171 votes
4 answers
68k views

What exactly is POSIX?

142 votes
23 answers
189k views

Is there a way to get the min, max, median, and average of a list of numbers in a single command?

105 votes
4 answers
142k views

Why is `while IFS= read` used so often, instead of `IFS=; while read..`?

89 votes
4 answers
33k views

What is the difference between a builtin command and one that is not?

77 votes
4 answers
206k views

How can I test the encoding of a text file... Is it valid, and what is it?

53 votes
5 answers
25k views

How can I use $variable in a shell brace expansion of a sequence?

47 votes
2 answers
10k views

Where do my ANSI escape codes go when I pipe to another process? Can I keep them?

45 votes
3 answers
10k views

Why does a bash here-string add a trailing newline char?

35 votes
3 answers
31k views

Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?

32 votes
9 answers
50k views

How do I find the X window ID under the mouse pointer in bash?

30 votes
5 answers
7k views

Why does shell Command Substitution gobble up a trailing newline char?

30 votes
1 answer
2k views

Why does echo >file use more real time than echo | sed >file?

29 votes
4 answers
33k views

Is it possible in bash, to start reading a file from an arbitary byte count offset?

26 votes
7 answers
43k views

In bash, how can I convert a Unicode Codepoint [0-9A-F] into a printable character?

25 votes
2 answers
9k views

GNU Emacs; Does the GUI version offer anything more than the ability to have a GUI menu?

24 votes
6 answers
35k views

Get monitor make and model and other info in human readable form

23 votes
1 answer
13k views

Why can't sudo redirect stdout to /etc/file, but sudo 'nano' or 'cp' can? [duplicate]

21 votes
1 answer
8k views

How can I type Unicode characters into KDE's Konsole terminal from a Gnome desktop?

19 votes
3 answers
10k views

Is it possible to nest a 'find -exec' within another 'find -exec'?

16 votes
2 answers
4k views

Where has the trailing newline char gone from my command substitution?

16 votes
3 answers
13k views

Why does the exclamation mark `!` sometimes upset bash?

15 votes
2 answers
10k views

In `while IFS= read..`, why does IFS have no effect?

14 votes
3 answers
9k views

How to colorize text in emacs?

12 votes
3 answers
2k views

wc -L reports a line-length of 8 for a tab-char. bug or feature?

12 votes
2 answers
11k views

Why does my system show only 3.2 GiB of RAM when I definitely have 4.0 GiB

12 votes
4 answers
21k views

Can IFS (Internal Field Separator) function as a single separator for multiple consecutive delimiter chars?

11 votes
2 answers
7k views

Why is deleting files by name painfully slow and also exceptionally fast?

11 votes
1 answer
2k views

What are the scope restrictions for setting shopt extglob. and other options?

11 votes
2 answers
1k views

Are there 2 ways to set awk vars via command line?