If you are able to login you can issue the history command to see what you entered on the CLI, if you are not able to login I advice you to reread my previous post!
EveryDay I like this kind of answ. people get on ths forum...!!!!
If you can not login, nor ftp, you can always Put the SME in recovery mode.
Type "sme rescue" when using the CD
your files will be on:
/mnt/sysimage
I hope it helped.
Regards.