42,101 reputation
662111
bio website blog.denniswilliamson.us
location United States
age
visits member for 5 years, 4 months
seen 1 hour ago

                I am the first user
            to earn at least 30,000
            reputation points each

                 
                    on all three of
                  Stack Overflow,
                 Server Fault and
                     Super User.


         I was also the first user to
surpass 10,000 and 20,000 points each
          on all three of those sites.


Are you a Stackathlete?

Check the standings on


Profile:
I'm a Unix/Linux sysadmin/programmer

Devotion to Duty
Devotion to Duty
Try my unofficial Printifier for xkcd.


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'
Apr
25
comment Linux Shell: Copy output into clipboard w/o using the Mouse?
@brauliobo: I presume klipper is a clipboard viewer. Try cat file | xclip -selection clipboard Without the extra arguments, xclip copies into the primary (middle-click-paste) clipboard instead of the Ctrl-C/Ctrl-V/right-click-context-menu clipboard.
Apr
25
comment Linux Shell: Copy output into clipboard w/o using the Mouse?
@brauliobo: It doesn't work in what way, exactly? Error message? Misbehavior? Magnetic field anomalies?
Apr
25
comment Linux Shell: Copy output into clipboard w/o using the Mouse?
@brauliobo: Where's "here"? Seriously, what do you mean? It doesn't work in what way, exactly?
Apr
14
comment How to delete backup files (with tilde as the last character) recursively from a folder generated by Quanta Plus?
@Shawn: Something like this (untested): find /path/to/dir -wholename './subdir/to/skip' -prune -o -name '*~' -ok rm {} \; You could use -exec instead of -ok if you don't need to confirm deletions (or you could use -i with rm as a different way of confirming).
Mar
21
comment pam mount - my password prompt now says pam_mount password:
@sim: I replaced the link.
Mar
5
comment Vim Stuck In Insert Mode
@PiotrDobrogost: See my answer to "How can I check in bash if a shell is running in interactive mode?"
Mar
4
comment Vim Stuck In Insert Mode
@PiotrDobrogost: "When an interactive shell that is not a login shell is started, Bash reads and executes commands from ~/.bashrc, if that file exists." .bash_profile is only executed when Bash is a login shell. "So, typically, your ~/.bash_profile contains the line if [ -f ~/.bashrc ]; then . ~/.bashrc; fi"