3,981 reputation
512
bio website systemajik.com
location Gatineau, Canada
age 59
visits member for 3 years, 5 months
seen 13 hours ago
I have over 30 years experience in all phases of software development and delivery. I have administered a variety of midrange servers, and worked with systems from PCs to Mainframes.

Jan
4
revised Re-set $TMUX after unsetting
added 179 characters in body
Jan
4
revised Can I somehow add a “&& prog2” to an already running prog1?
Clarify
Jan
2
answered Re-set $TMUX after unsetting
Nov
26
revised How do I configure ssh tunneling past a firewall?
Fix spelling
Nov
21
comment How does ifconfig find a machine's external IP address?
@badcook ifconfig normally won't know if your public IP address is already taken. See my edit.
Nov
21
revised How does ifconfig find a machine's external IP address?
Respond to comment.
Nov
21
revised How does ifconfig find a machine's external IP address?
u
Nov
20
answered How does ifconfig find a machine's external IP address?
Nov
13
comment Can I somehow add a “&& prog2” to an already running prog1?
I am qualifying the answer. A plain wait will fail to provide the desired result. It is common to use the short forms as they are less prone to typos.
Nov
13
comment Can I somehow add a “&& prog2” to an already running prog1?
There are a number of short forms for entering the PID of the backgrounded process such as %, %1 and $!. It is important to supply the PID or the second command will always run.
Nov
13
comment Can I somehow add a “&& prog2” to an already running prog1?
Waiting on the command should do the job.
Nov
11
comment Can I somehow add a “&& prog2” to an already running prog1?
@slm using wait as a solution.
Nov
11
comment Can I somehow add a “&& prog2” to an already running prog1?
@slm return status on the backgrounded command will only be available if no other command is run in the background after it. The variable containing the return status is not $?.
Nov
11
revised Can I somehow add a “&& prog2” to an already running prog1?
Add comment on entering command ahead of time.,
Nov
11
comment Can I somehow add a “&& prog2” to an already running prog1?
@slm From his request it seems the command is running in the foreground. If it had been backgrounded, then waiting on the proceess and checking its return status could be used. It would be easier to forground it.
Nov
11
comment Can I somehow add a “&& prog2” to an already running prog1?
@slm As long as the command is not reading stdin, the new command can be entered while the first command is running. The shell will read it as soon as the first command is done.
Nov
11
answered Can I somehow add a “&& prog2” to an already running prog1?
Nov
11
answered Is there a difference between ./script and bash script?
Nov
9
answered Pipe assigns variable
Nov
5
revised Does ntpd default allow query requests through?
Clarify