linux Flashcards
What is the prompt for the root user?
#
What is the prompt for the user?
$
What do you call the administrator?
root
What command is used to list directory and files?
ls
What command is used to display the message on screen?
echo
What command is used to diplay the current working directory?
pwd
What command is used to change directory?
cd
What command is used to create a blank file?
touch
What command is used to copy a file or directory?
cp
What command is used to make a directory?
mkdir
What command is used to view the contents of file or concatenate two or more files?
cat
What command is used to break output into pages?
less
What command is used to open the VIM text editor?
vim
What command is used to open the GNU nano text editor?
nano
What command is used to reboot a machine?
reboot
What command is used to shutdown a machine?
shutdown
What is the command that is used to open the manual of a command?
man
What command is used to move files or directories?
mv
What is the command that is used to rename directories?
mv
What is the command that is used to provide a brief description of the specified command?
whatis
What are the desktop environments for CentOS?
Gnome / KDE
In which directory can you find the users accounts?
etc/passwd
In which directory can you find the encrypted passwords?
etc/shadow
In which directory can you find the groups?
etc/group