Elevating Privileges
Explore how to elevate your privileges using the sudo command to perform tasks restricted to the superuser in Linux, Unix, BSD, or macOS command-line interfaces. Understand file permissions and learn when and how to use sudo carefully to manage system files and directories effectively.
We'll cover the following...
We have complete and total control over all of the files in our home directory. But we don’t have free rein over directories and files across the whole disk. We can do certain things only with superuser privileges. On Linux, Unix, BSD, and macOS systems, this is called the root user. To keep things more secure and prevent accidents, regular user accounts are restricted from modifying things outside their home directories.
Try to create a new directory called /var/website ...