I thought I was moving a sub directory up a level so that it would be a sibling of its parent. But it's now completely invisible. Is it gone?
Here's the command I used:
mv parentdir/mydir ../mydir
When running a command like
I would do:
and get the error message:
because, of course, I meant to type
In a command like this, paths are relative to the current working directory (unless the path starts with
What you wanted to do was one of these two:
I figured it out. All I did was change the name so that it started with the .., and that made it hidden to the "ls" command.