Renaming a directory is the same as renaming the files. You use the mv command.| Linux Handbook
Linux file permissions explained in simpler terms. Also learn how to change the file permissions and ownership in Linux in this detailed beginner's guide.| Linux Handbook