$Id: assignment2.txt,v 1.2 2006/02/06 17:42:25 locasto Exp $ -------------------------------------------------------------------------- [Second Assignment] (10 pts.) Change your CUNIX shell prompt to be a prompt of your choice. Make this change "permanent" for each new login session. Submit a text file: 1) explaining how you did this 2) showing your prompt in action Please post this file using Courseworks to the 'Assignment_2' folder by next Tuesday (the 7th). It is worth 10 points of class participation. An example of "your prompt in action" follows: [michael@xoren ~]$ ssh mel2008@cunix.columbia.edu Last login: Fri Feb 3 10:39:47 2006 from 63.204.124.130 Sun Microsystems Inc. SunOS 5.9 Generic May 2002 [mel2008@mango mel2008(366)]$ whoami mel2008 [mel2008@mango mel2008(367)]$ ps PID TTY TIME CMD 27446 pts/11 0:00 ps 27296 pts/11 0:00 bash [mel2008@mango mel2008(368)]$ last -3 va2030 pts/74 bzflag.cc.columb Mon Feb 6 12:47 still logged in amg2009 pts/27 h460af1a9.area7. Mon Feb 6 12:46 still logged in mel2008 pts/11 dyn-160-39-247-3 Mon Feb 6 12:46 still logged in [mel2008@mango mel2008(369)]$ ls ai command.zip docs mbox pictures command.txt coms1001 jsrc nsmail public_html [mel2008@mango mel2008(370)]$ exit logout Connection to cunix.columbia.edu closed. [michael@xoren ~]$ You may also want to explore the use of the 'script' command. See 'man script' for more information.