Unix Tip: The directory that wasn't
By Sandra Henry-Stocker
I recently found myself with a directory that didn't contain the standard "." and ".." directories that would have properly tied it into the file system. To fix the immediate problem, I moved the
troublesome directory (using mv) and created a new one. When I tried to remove the (then renamed) directory, I found that I couldn't. First, I tried the obvious. I tried removing the directory with rm, rmdir, rm -f and rm -rf. None of these commands worked for me. Here's
the process I took to remedy the problem.
Read the full article here:
I recently found myself with a directory that didn't contain the standard "." and ".." directories that would have properly tied it into the file system. To fix the immediate problem, I moved the
troublesome directory (using mv) and created a new one. When I tried to remove the (then renamed) directory, I found that I couldn't. First, I tried the obvious. I tried removing the directory with rm, rmdir, rm -f and rm -rf. None of these commands worked for me. Here's
the process I took to remedy the problem.
Read the full article here:
0 Comments:
Post a Comment
<< Home