Reputation
Next tag badge:
385/400 score
82/80 answers
Badges
7 77 121
Newest
 Guru
Impact
~4.3m people reached

Aug
25
awarded  Guru
Aug
22
comment How do I add text to the beginning of a file in Bash?
@onaclov2000: The second sed command in my answer says to insert a line of text before line 1. I'd have to see the command you used to know why it inserted it on every other line. You probably omitted the address (1).
Aug
17
comment Sort files by date modified, but folders always before files in Windows Explorer?
@jla: I answered the question before the OP added the Windows Explorer qualification.
Aug
17
comment Binding number keys in tmux
@StephenNiedzielski: True, but I'm not aware of another way to accomplish what the OP asked without affecting other things.
Aug
6
awarded  Nice Answer
Aug
6
comment How to make a statement that checks if something is divisible by something else without a remainder (BASH)
@RedCricket: Only if you enter a leading zero. If that's an issue, you can do: if (( 10#$number % 5 == 0 )) to force $number to be interpreted as base 10 (instead of base 8/octal implied by the leading zero).
Aug
3
revised How do I symlink each of the files in one directory to another directory?
clarification
Aug
3
comment How do I symlink each of the files in one directory to another directory?
@root.ctrlc: You have to specify the full path of the source (which is / in my original answer). I'll add a clarification.
Jul
22
comment Terminal *output* history?
@SQB: I've expanded my answer.
Jul
22
revised Terminal *output* history?
expanded answer
Jul
16
awarded  Good Answer
Jul
15
revised How to recursively rename files/folders to make their names Windows-friendly?
additional information
Jul
15
awarded  Enlightened
Jul
15
awarded  Nice Answer
Jul
15
awarded  Yearling
Jul
14
revised How to recursively rename files/folders to make their names Windows-friendly?
link maintenance
Jul
13
comment How to recursively rename files/folders to make their names Windows-friendly?
@Ramhound: This isn't a link-only answer. The answer is the name of two programs that do what the OP wants. The links lead to where to obtain those progtams and a reference to where I found the information.
Jul
2
awarded  script
May
24
awarded  Good Answer
May
18
comment Multiple parameters to bash script
@MikeBlandford: There was a missing do which I have fixed.