Job Control
cape canaveral
somniosus at gmail.com
Mon Nov 22 03:07:03 PST 2004
On Mon, 22 Nov 2004 04:49:23 -0600, Nikolas Britton
<freebsd at nbritton.org> 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
More information about the freebsd-questions
mailing list