lina wrote: > $ rm -r build/ > rm: cannot remove `build/': Not a directory > $ rm build/ > rm: cannot remove `build/': Not a directory > $ mv build/ build.old > mv: cannot move `build/' to `build.old': Not a directory > ... > lrwxrwxrwx 1 lina hpcusers 24 Dec 27 2009 build -> /scratch/lina/build/ > I don't know how to remove /build. When you end a filename target with a '/' it forces programs to interpret the filename as a directory and to dereference through it. Sometimes that is what you want. But not in this case. Remove the '/' from the above and the rm will then remove the symlink and not the directory referenced by the symlink. $ rm build Bob
Attachment:
signature.asc
Description: Digital signature