Thanks to all who replied. I've tried the following solution: # rm -i *expor* rm: remove export PS1 set -o vi fi if [ -eq 0 ]; then exit fi (yes/no)? yes and file was removed. I don't know how this file was created, so I am unable to recreate it and check other solutions :-) Original message was: > Hello All ! > > How can I remove a file, which name looks like the following: > > $ /usr/bin/ls -la > total 216 > -rw-r--r-- 1 root other 0 Oct 16 2000 > export PS1 > set -o vi > fi > if [ -eq 0 ]; then > exit > fi > > drwxr-xr-x 26 root root 1024 Apr 27 12:00 . > drwxr-xr-x 26 root root 1024 Apr 27 12:00 .. > -rw-r--r-- 1 root other 6239 Apr 27 15:22 .bash_history > ................ > > or, when using GNU ls: > > $ /usr/local/bin/ls -la > total 110 > -rw-r--r-- 1 root other 0 Oct 16 2000 > ?export PS1?set -o > vi?fi?if [ -eq 0 ]; then? exit ?fi? > drwxr-xr-x 26 root root 1024 Apr 27 12:00 . > drwxr-xr-x 26 root root 1024 Apr 27 12:00 .. > -rw-r--r-- 1 root other 6239 Apr 27 15:22 .bash_history > ................ _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Mon Apr 29 07:25:03 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:41 EST