Reputation
47,368
Next tag badge:
377/400 score
82/80 answers
Badges
7 76 120
Newest
 Good Answer
Impact
~4.2m people reached

Jul
22
comment Terminal *output* history?
@SQB: I've expanded my answer.
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.
May
18
comment Multiple parameters to bash script
@MikeBlandford: There was a missing do which I have fixed.
Apr
1
comment Bash: Spaces in alias name
@Jeef: No, my answer uses a function instead of an alias. I have edited it to try to make it clearer.
Feb
6
comment Change directory cd to another terminal's cwd
@PeterCordes: Thanks for spotting that omission.
Jan
16
comment Prevent user typing accidental space between rm and wildcard
@MartinSchröder: If you happen to be in the directory where the file exists.
Dec
23
comment Standard way to duplicate a file's permissions
@mernst: That's only necessary for the first cp if the owner/group of the file (e.g. "user") is different from the one doing the copying (e.g. root).
Nov
20
comment Add directory to $PATH if it's not already there
It also deletes too aggressively as pointed out by PeterS6g.
Nov
20
comment Add directory to $PATH if it's not already there
This fails in the unusual case that $1 is the only entry (no colons). The entry becomes doubled.
Nov
20
comment Add directory to $PATH if it's not already there
This puts the addition at the end. It is often desirable to add to the beginning in order to override existing locations.
Nov
9
comment How do I interpret the results of the `ls -l` command?
@ychaouche: What do you mean? Whenever a hard link to a file is created or removed, the hard link count of that file is incremented or decremented.
Oct
6
comment Can Thunderbird wrap long lines of received html mails?
The quote in my comment is from the link in yours.
Oct
6
comment Can Thunderbird wrap long lines of received html mails?
The feature only works in FF, not in TB. "In a browser window (Firefox or Seamonkey), checking Word Wrap Within <PRE> in the View menu..."
Oct
6
comment Can Thunderbird wrap long lines of received html mails?
Thunderbird 31.1.1 on Linux doesn't have this menu item and doesn't respond to the keystroke.
Sep
8
comment bash: source from URL
@nilbus: According to this, you might try source <(curl -s http://example.com/foo | iconv -f windows-1251)
Aug
18
comment Modify fstab entry so all users can Read and Write to an EXT4 Volume
@IvanBalashov: You can use an @reboot entry in /etc/crontab among other possibilities.
Aug
13
comment How can I search within the output buffer of a tmux shell?
@DanielQue: A shell environment variable. It will need to be exported or placed in tmux's envrionment like this: VISUAL=vi tmux
Aug
12
comment How can I search within the output buffer of a tmux shell?
@DanielQue: Take a look at the tmux man page and search for "mode-keys" and "status-keys". Those are sub-commands that allow you to set the binding style. Alternately, it might be simpler to set an environment variable (EDITOR or VISUAL) to the style you want before starting tmux.
Jul
30
comment How to make a statement that checks if something is divisible by something else without a remainder (BASH)
@AreusAstarte: It means you don't have dc installed.
May
19
comment How do erase the contents of a error.log file but keep the file intact
@davidkonrad: You would have to already be root for the redirection to work since it's performed before sudo takes effect. Or you can do sudo bash -c '>error.log'