Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
13
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 125 votes cast
Mar
29
comment How to get execution time of a script effectively?
and "real" is probably what people want to know - "Real is wall clock time - time from start to finish of the call"
Feb
16
revised How to switch to root and use same dotfiles as my normal user?
added 208 characters in body
Feb
15
accepted How to switch to root and use same dotfiles as my normal user?
Feb
15
comment How to switch to root and use same dotfiles as my normal user?
hmm... yeah so far that seems to be the best way... is to constantly sync it up.... thanks for the suggestion!
Feb
15
comment How to switch to root and use same dotfiles as my normal user?
@Fiximan - I did try softlinks, but started to get permissions problems that made me think twice... I never thought of the change root's home dir though... hmmm....
Feb
15
asked How to switch to root and use same dotfiles as my normal user?
Dec
11
comment How to read user input when using script in pipe
@jmc - can you post your selector script here? I'd like something similar!
Nov
9
awarded  Popular Question
Aug
26
comment How to add a folder to a remote hosts PATH using a shell script?
I ended up adding a grep around it to ensure it wasnt in the file already, and putting that in a script called path_add_bin_to_path, which is like the following: if ! grep -q PATH:~/bin ~/.bashrc; then echo "PATH=\$PATH:~/bin" >> ~/.bashrc fi I then called that script from my machine using ssh user@host ~/bin/path_add_bin_to_path, which I did in a script right after my syning operation, which is basically rsync -avrz --progress ~/bin/ -e ssh user@host:~/bin
Aug
26
accepted How to add a folder to a remote hosts PATH using a shell script?
Aug
26
awarded  Commentator
Aug
26
comment How to add a folder to a remote hosts PATH using a shell script?
This idea basically worked... thanks!
Aug
26
comment How to add a folder to a remote hosts PATH using a shell script?
I can do that, but I have to connect to lots of different machines all the time, and would like to automate the entire process, including the PATH addition.
Aug
26
revised How to add a folder to a remote hosts PATH using a shell script?
added .bashrc clarification
Aug
26
asked How to add a folder to a remote hosts PATH using a shell script?
Jul
10
awarded  Nice Question
Jun
26
comment Tmux - Get pane # of each pane in a window from a script?
sweet! that totally did it... much appreciated!
Jun
26
accepted Tmux - Get pane # of each pane in a window from a script?
Jun
24
revised Tmux - Get pane # of each pane in a window from a script?
added 96 characters in body
Jun
24
revised Tmux - Get pane # of each pane in a window from a script?
added 1 character in body