home Mail List
Info
Info
Meetings
Goals
Upcoming
Projects
FAQ
Security
Links

[Date Prev][Date Next] [Chronological] [Thread] [Top]

[NMLUG] A couple of remote computing questions



Tim Emerick wrote:
> I am running sshd on my home pc.  I have a couple of questions regarding
> remote computing and backgrounding tasks.
> 
> 1. During an SSH session I use apt-get to upgrade my debian distribution.  If
> I am disconnected during the middle of it I tend to get some errors.
> 
> 2. If I use apt-get dist-upgrade &, will the process end if the SSH session
> ends or will it continue to run until finish?
> 
> 3. What is the difference between using one ampersand to background a task
> and two ampersands?
> 

&& is 'AND', as in, 'If A terminates successfully, then run B; if B also 
terminates successfully, the result returns 0'

One '&' returns control to the originating shell.

> 4. Am I using the wrong terminology when saying --backgrounding--.  Is this
> commonly referred to as --forking a process-- ??
> 
Either is acceptable, although 'backgrounding' doesn't parse well in 
English. ;-)


-- 
Don Wilde  ---------> Silver Lynx <----------
  Raising the Trajectory of Human Development
---------------------------------------------
          http://www.Silver-Lynx.com




Please send sugestions and comments to webmaster@nmlug.org.
Valid XHTML 1.1! Valid CSS! Powered by Debian Powered by Apache