Linux Flashcards
You can view all of the users on a system by looking at the contents of the /e__/passwd file
You can view all of the users on a system by looking at the contents of the /etc/passwd file
You can view all the groups on the system and their members by looking in the /etc/g___
You can view all the groups on the system and their members by looking in the /etc/group
The most common way to view the permissions of a file is to use ls
with the long listing option -l, e.g. ls -l myfile
The most common way to view the permissions of a file is to use ls with the long listing option -l, e.g. ls -l myfile
In Linux, there are two types of files: normal and s_____.
In Linux, there are two types of files: normal and special.
Normal files can be identified by a h_____ (-) in their file type fields
Normal files can be identified by a hyphen (-) in their file type fields
To see the groups that your user currently belongs to, type:
groups
To page down, you can use either the s____ bar, the “Page Down” button on your keyboard, or the CTRL-_ shortcut.
To page down, you can use either the space bar, the “Page Down” button on your keyboard, or the CTRL-f shortcut.
To scroll back up, you can use either the “Page Up” button, or the CTRL-_ keyboard shortcut.
To scroll back up, you can use either the “Page Up” button, or the CTRL-b keyboard shortcut.
To search for some text in the document, you can type a forward slash “/” followed by the search term. For instance, to search for “mail”, you would type:
To get to another result (after /search), you can type the lower-case _ key:
lt. To get to another result, you can type the lower-case n key (for next)
To move backwards to the previous result, use a capital _ instead:
To move backwards to the previous result, use a capital N instead:
Red Hat Enterprise Linux sometimes acronym-ed as ____
RHEL
To view all of the environment variables that are set for a particular terminal session, run the e__ command:
env command
To print out the value of the PATH variable, you may use the e___ command:
the echo command:
echo $PATH
A u____ value is a three-digit octal number that determines the permissions for newly created files and directories in UNIX-based systems
A umask value is a three-digit octal number that determines the permissions for newly created files and directories in UNIX-based systems