Reputation
7,964
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
12 32
Newest
 Enthusiast
Impact
~298k people reached

1d
comment Why does sudo -n on Mac OS X always return 0?
My first reaction is "Of course behaviour may differ by OS." The GNU folks and the BSD folks are under no obligation to agree with each other. The "official" answer will have to be: check the man pages.
2d
comment Execute a .sh file from the desktop in intervalls
lots of tutorials out there. google it
2d
awarded  Enthusiast
2d
comment Execute a .sh file from the desktop in intervalls
Also, set up ssh public keys so you don't need to hardcode your password anywhere
2d
comment Execute a .sh file from the desktop in intervalls
It sounds like you need an every-minute cronjob on your local system that logs in to your remote box and just executes the program. Don't try to reimplement cron.
Apr
15
answered sending GREP command fails
Apr
15
comment sending GREP command fails
Does the contents of $val end with a \r? Are you reading from a file that had DOS line endings?
Apr
14
answered SSH-AGENT could not open connection
Apr
14
answered Redirect stderr to second terminal / tty
Apr
13
answered Who deals with the star * in echo *
Apr
11
answered What issue exists when multiple lines of 'date' are used in bash?
Apr
10
answered How to add the filepath to a specified line of a file using bash script?
Apr
9
comment Send keystrokes to two windows at once
Nevermind. I didn't realize these were GUIs
Apr
9
answered How to substitute all occurrences after a certain number with sed in OS X
Apr
9
comment Send keystrokes to two windows at once
tmux with set synchronize-panes toggled on.
Apr
6
answered Parameter substitution in sh -c
Apr
5
answered How to make sed print to the end of line from socat
Apr
2
answered Always run a program as root without typing sudo on RHLE?
Apr
2
revised Cygwin: during sed operation changes are not save
formatting
Mar
31
comment Dealing with a string as file input for a program within bash script
Nope. Sounds like the simplest solution is to write your data to a file, or modify toolX