Reputation
4,920
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
8 15
Newest
 Nice Answer
Impact
~597k people reached

  • 0 posts edited
  • 0 helpful flags
  • 39 votes cast
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
Nov
4
answered Does ntpd default allow query requests through?
Aug
21
revised How can I change the default gateway?
Comments on O/S varities.