From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 11:07:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9020A16A4CE for ; Mon, 22 Nov 2004 11:07:03 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A88743D48 for ; Mon, 22 Nov 2004 11:07:03 +0000 (GMT) (envelope-from somniosus@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so189005wra for ; Mon, 22 Nov 2004 03:07:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ChvScNVn+idcgBZLF+RmwngLPthCZMHJCvVsvwNh//yMIYkB3LEiq+pKJzISNofD/04AGGyIZP2ociZmmkkjNefkJtKpR4dmdGPHLGlrQECwSxbP72dzeT3v/j2L8UGeBBMDmLQ2rpIq1UJIqxWbt6KDtI2Qta0XF+qQtMgTMhs= Received: by 10.54.53.30 with SMTP id b30mr1806550wra; Mon, 22 Nov 2004 03:07:02 -0800 (PST) Received: by 10.54.14.45 with HTTP; Mon, 22 Nov 2004 03:07:02 -0800 (PST) Message-ID: Date: Mon, 22 Nov 2004 03:07:02 -0800 From: cape canaveral To: Nikolas Britton In-Reply-To: <41A1C433.90406@nbritton.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41A1C433.90406@nbritton.org> cc: freebsd-questions@freebsd.org Subject: Re: Job Control X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cape canaveral List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 11:07:03 -0000 On Mon, 22 Nov 2004 04:49:23 -0600, Nikolas Britton wrote: > Lets say I put a job in the background and then exit the shell (csh) and > then open another shell, how do I get that background possess back into > the foreground in the new shell? > The program you're looking for is called 'screen'. > Also: > > %ll > drwxr-xr-x 2 nbritton nbritton - 512 Nov 22 04:40 test/ > -rw-r--r-- 1 nbritton nbritton - 0 Nov 22 04:40 test.tgz > %cd t* > t*: Ambiguous. > %cd test.tgz > test.tgz: Not a directory. > % > > So whens is it possible to cd into a file or is cd really that stupid? > Depends on your shell, or version of cd I suppose. bash-3.00$ ls -la | grep test drwxr-xr-x 2 aaron wheel 512 Nov 22 05:15 test -rw-r--r-- 1 aaron wheel 22 Nov 22 05:22 test1 bash-3.00$ cd t* bash-3.00$ pwd /usr/home/aaron/test But if I try and run the same command in csh I get: $ cd t* cd: too many arguments -Aaron