Reputation
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
4 28 71
Newest
 Nice Answer
Impact
~863k people reached

22h
comment How do I program Python so that it outputs to all terminals in Linux
Can you install tmux or screen? Both can run a session in the background and you can just connect to (or disconnect from) it when needed.
1d
comment Add a newline into a filename with `mv`
BTW, in zsh you can also enter a newline with esc return (not together, release the esc before hitting return)
1d
comment Add a newline into a filename with `mv`
Well, you can copy and paste into the mv command just as easily as touch.
1d
comment Add a newline into a filename with `mv`
What makes you think doing it with mv would be any different from doing it with touch? Did you try the same thing?
Jun
24
awarded  Nice Answer
Jun
18
comment How to “less” a file named “-”?
@Kwaio this is certainly neither the most portable nor the most command-independent solution; in fact, it doesn't even work on the file in the question. ./- is the correct answer. -- is only "best practice" when using a wildcard at the start of the file name on commands that recognize it (which is not all, and for those gnu utilities that do, their counterparts on other systems may not).
Jun
16
awarded  Nice Answer
Jun
8
accepted Set and Shopt - Why Two?
Jun
8
comment Deleting files with spaces in their names
(1) you can use -name '* *' instead of the regex; and (2) you can use -print0 | xargs -0 rm -i to address @StephenKitt's concern.
Jun
1
revised Using AWK to convert numbers to 0 or 1
deleted 14 characters in body
May
31
comment Bash command not found due to stray garbage characters
Sometimes when I hit <esc> and then a key, I get funny invisible characters, perhaps you did that.
May
31
comment Using AWK to convert numbers to 0 or 1
Your awk solution is wrong; the $0 = 1 is run every time, so every line comes out 1.
May
21
awarded  Nice Answer
May
7
awarded  Announcer
Apr
16
comment Why does tar hang with 100% CPU if files list has leading spaces
And Arch/GNU tar 1.28
Apr
16
comment Why does tar hang with 100% CPU if files list has leading spaces
Works on OSX/bsdtar 2.8.3
Apr
13
awarded  Nice Answer
Mar
18
revised How to return both file name and line number with find … -exec grep?
deleted 3 characters in body
Mar
18
awarded  Nice Answer
Mar
10
awarded  Notable Question