![]() ![]() These have significance according to the order in which they are specified. These options may be used individually, used together in any order, or combined after one hyphen if they all use a single hyphen: $ ls -l For example, the ls (list-files) command will include hidden files in its output if the -a argument is given, and will list detailed information about files when the -l option is specified. These start with a hyphen or double-hyphen ( - or -) and modify the way the command operates. Press Ctrl-D or type exit to drop superuser access and return to your regular shell prompt. The shell prompt will change to end in a pound sign ( #) instead of a dollar sign ( $) when you are in root mode. ![]() If you’re using the root account, an incorrect command can cause a lot more damage than the same command executed in a normal account.Īlthough you can directly log in as a root user, it’s usually much safer to take on root privilege only when necessary, using the su (switch user) command: $ su Although it’s tempting to use the root account all the time on a single-user computer, it is unwise because Fedora assumes that you know what you’re doing and won’t ask for confirmation if you enter a dangerous command it will just go ahead and execute it. root access is required for many system administration commands. The superuser account, root, is also called the privileged account, because it is not subject to the security restrictions that are applied to regular user accounts. Obtaining a root prompt to enter commands as the superuser ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |