Originally posted by: SimonMarchese
> In a work session I am mistaken in the use of a ls
> command. It needed to see the content of a directory
> and of way it mistakes keys
> ls * -l,
> instead of
> ls -l *
Yes, these will often give different results.
> Reason why the system I am generated symbolic files
> (Link) by each one of the existing archives with a
> sintaxis: arhcfile -> path/path1/path2/archfile ...
> n-files
>
> Then I need its aid to know some other form to
> eliminate these archives, already tries the following
> thing without obtaining the awaited result.
> rm -i *
> rm archfile -> path/path1/path2/archfile
> rm "archfile -> path/path1/path2/archfile"
> rm
-> > rm [/]
It looks to me like you are trying to delete the symbolic link pointing to an archive file. Assume you see the following in you "ls -l" output.
lrwxrwxrwx 1 root system 13 04 Feb 2003 libz.so@ -> libz.so.1.1.4*
The if you run "rm libz.so", you will remove the symbolic link, but not the file to which it is pointing. If you run "rm libz.so.1.1.4" you will remove the file and leave the link pointing to nothing. The other forms are incorrect.
#AIX-Forum