Rename Mac Directory in Terminal
Can someone help me rename my Mac directory? I have tried through numerous youtube videos to no avail. Years ago, someone named Mike recovered my lost files on an old Mac and my directory has been named Mike ever since. Not a big deal but I want to change it to my name and cannot. I've seen that people use mv oldname newname but this returns a "no such file or directory." I am not moving a directory/file, simply renaming. Please advise!
MacBook Air (2020 or later)