Newsgroups: comp.unix.questions Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!cwns1!chet From: chet@cwns1.CWRU.EDU (Chet Ramey) Subject: Re: System V questions Message-ID: <1990Jan2.162808.13552@usenet.ins.cwru.edu> Reply-To: chet@po.CWRU.Edu Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA) References: <21917@adm.BRL.MIL> Date: Tue, 2 Jan 90 16:28:08 GMT In article <21917@adm.BRL.MIL> mwood!attcc!hpn@att.att.com writes: >About getting the prompt to show your current working directory, try this: > >PS1='${PWD##}' Try getting the Korn Shell or bash (the Gnu Bourne-Again SHell) before expecting this to work. >About the alias, try this: >alias dir=ls -l Again, get bash first. They try alias dir="ls -l" The quotes are required for any alias containing white space. This is what bash does with the unquoted form: cwns1$ alias dir=ls -l alias: -l not found >Or try 'man alias' Misleading. On my systems, `man alias' is equivalent to `man csh'. Chet Ramey -- Chet Ramey Network Services Group "Help! Help! I'm being Case Western Reserve University repressed!" chet@ins.CWRU.Edu