Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ucsd!ucsdhub!hp-sdd!ncr-sd!ncrcae!ofc!rogers From: rogers@ofc.Columbia.NCR.COM (H. L. Rogers) Newsgroups: comp.unix.questions Subject: Re: A blank line before the unix prompt? Keywords: prompt Message-ID: <227@ofc.Columbia.NCR.COM> Date: 8 Aug 88 17:54:42 GMT References: <3809@okstate.UUCP> <6591@bloom-beacon.MIT.EDU> Reply-To: hl.rogers@ncrcae.Columbia.NCR.COM (H. L. Rogers) Organization: NCR Corp, E&M-Columbia, W Columbia, SC Lines: 19 In article <6591@bloom-beacon.MIT.EDU> ilham@athena.mit.edu (Ilhamuddin Ahmed) writes: >In article <3809@okstate.UUCP> Ashok writes >> >>Is it possible to make echo " " a part of the unix prompt? My objective > >set prompt = "% \ >% " For /bin/sh, put following in $HOME/.profile: PS1=" prompt string" Output will look like this: [output of ls command] prompt string -- HL Rogers (hl.rogers@ncrcae.Columbia.NCR.COM)