Hello. I've written a short shell script to change my directory and display the contents at once because I'm sick of having to do 'cd dir' then 'ls -l'. My problem is that once the program is done executing, my directory remains the same. Here's my script:
#!/bin/bash cd $1 ls -lh | more How can I solve this problem? ----------------------------- Thanks in advance, Serban Giuroiu Get your own FREE E-mail address at http://www.linuxfreemail.com Linux FREE Mail is 100% FREE, 100% Linux, 100% better, and 100% yours! _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list