![]() The ll command lists the files and subfolders that are in a specified folder. But is the file created? To verify this, run the following command: ll /etc/hello* This time, you don't receive any error message. Now, run the same command one more time: echo hello world > /etc/helloworld.txt Keep in mind that this is a potentially dangerous situation, and you should exercise caution as you continue. Now you have elevated yourself to the "superuser" role in your session, you have complete access to the system. In this command, sudo is short for superuser do, and su is an abbreviation for "switch user." You can also use the su command to switch between standard users. There are several ways to run commands as the root account user. The root user can do tasks that are otherwise restricted for standard users, including the following: On UNIX-like systems, the conventional name of the superuser is "root". The system administrator uses this account for system maintenance. It has root (unrestricted) access to all files and folders, and complete control over the operation of the computer. The superuser is the most privileged user account. The next section explains how to elevate yourself to superuser status. Some of those tasks will require superuser permissions. However, a later step in this training covers working with files and folders. This example doesn't include listing the directory contents.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |