Reputation
10,549
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 17 36
Newest
 Enlightened
Impact
~926k people reached

May
21
comment help with remote file find/scp
Does the key you are trying to use have a passphrase? You can avoid using ssh-agent/ssh-add by using the -i option on sftp.
Apr
30
answered How to use 3rd variable in BASH for loop?
Apr
8
comment Change the parent process of a process?
Nothing happens to the subprocesses, they continue on as nothing has changed for them. If you are reattaching, then yes, the same server process and subprocesses will be connected to. You can tell screen to create a new session with new subprocesses, but then you wouldn't be reconnecting. Most of the reference is the source code itself. There is an info doc (info screen) with a bit more information, but not to the depth in this discussion.
Apr
2
comment Change the parent process of a process?
The server would listen on a socket (usually a UNIX domain socket file) waiting for connections. The client(s) would open a connection on that socket. Tabs are irrelevant to the communication between the client and the server, it could different tabs, different teminal emulates (xterm vs rxvt vs terminal), or could be xemacs. Each client knows where to connect, so it could be from anywhere.
Apr
2
comment Change the parent process of a process?
Every process has only one parent, until either the parent dies or it dies. If it dies, the point is moot. If the parent dies, then the PPID becomes 1, the init process. This is the only time the parent process would change - when the parent process terminates. Connecting via interprocess communication (pipes, sockets, etc.) has no affect on the PPID.
Apr
1
revised Change the parent process of a process?
edited tags
Apr
1
answered Change the parent process of a process?
Mar
26
answered Trailing colons and dash's builtin test command
Mar
20
answered Error in `for` loop in `if… else` conditions
Mar
19
answered Use sed as argument for basename
Mar
14
revised Is it possible to redirect the output of a command into more than one command?
Change suggested by commenter.
Mar
12
comment Copy files that partially matches another files in another location
The structure you describe is the desired structure or the existing structure?
Mar
9
awarded  Enlightened
Mar
9
awarded  Nice Answer
Mar
8
answered Is it possible to redirect the output of a command into more than one command?
Mar
7
answered How to extract text using sed
Feb
26
answered Printing out range of a pattern with awk
Jan
26
awarded  Yearling
Jan
10
answered Change a value in a config file, or add the setting if it doesn't exist?
Jan
6
answered Correct way to add users to a Subversion repository