Job Control

Shantanoo Mahajan shantanoo at gmail.com
Mon Nov 22 11:56:10 PST 2004


+++ cape canaveral [freebsd] [22-11-04 03:07 -0800]:
| 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
| 

$ cd t*
is equivalent to
$ cd test test1
which says
cd: too many argumets
as you can cd to only one directory at a time.

Regards,
Shantanoo


More information about the freebsd-questions mailing list