I am trying to learn BSD and I really hate that it does not save my history after I log out. So I have tried to write a script that saves my history and puts the file in my home dir. This is the script, I am using the c shell. ----begin script--- #!/bin/csh echo "coping history to myhistory" history >> shhistory exit ----end script---
when i run the script i get the "coping history to myhistory" but nothing else. only way i can get it to work is run history >> shhistory I know this is a simple question but I can not figure this one out. thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
