Unit 4 Misc. Flashcards
Nano text editor -
What key combination saves the current file?
What key combination opens the search menu?
CTRL + O combination saves the current file.
CTRL + W combination opens the search menu.
What nano key combination opens the help text?
CTRL + G
In nano what will pressing the Esc key twice and then typing in a three digit decimal number do?
It will enter the character with the corresponding value.
What is a META key?
To control nano, you can use CTRL, ALT, ESCAPE or the META keys. The META key is the key on the
keyboard with a Windows or Mac logo, depending on your keyboard configuration.
In Linux where are config files that are used to configure the user applications, and config files used to control system-wide services placed?
In Linux, configuration files that are used to configure user applications are often
placed in the user’s home directory while configuration files used to control system-wide services are placed
in the /etc directory. Users always have permission to write to their own home directories and are able to
configure the behavior of applications they use.
What is the Linux cmd that lists hidden files?
ls -la
lists hidden files that start with a “.” - Typically config files.
What command would you use to display the contents of the .bashrc file?
cat .bashrc
What is the default color coded output for ls?
color-coded output for ls (directories in blue, regular
files in grey, executable files in green
Configuration files relating to system-wide services are place in what directory?
Configuration files relating to system-wide services are place in the /etc directory, byconvention.
Web services, print services, ftp services, and email services are examples of services that
affect the entire system and of which configuration files are stored under /etc. Notice that regular users do
not have writing access to /etc. This is important as it restricts the ability to change the system-wide
service configuration to the root user only.