Path: utzoo!attcan!uunet!aplcen!trweil From: trweil@aplcen.apl.jhu.edu (Weil Timothy Robert) Newsgroups: comp.unix.questions Subject: 'cd' in shell-script or .profile Summary: How can I change my current directory from script Keywords: cd - change directory in shell script Message-ID: <5672@aplcen.apl.jhu.edu> Date: 14 Jun 90 00:00:20 GMT Distribution: comp.unix.questions Organization: Johns Hopkins University, Laurel, MD Lines: 11 I'd like to be prompted after login as to which directory I'd like to be working in - Tried a simple prompting via shell script; also tried inserting same prompting in .profile (Ultrix running Korn Shell)... results were similar - a 'pwd' would indicate that I'd changed to the selected directory but UNIX kept me logged into $HOME....any other tricks to try?