Unit 4 Misc. Flashcards

1
Q

Nano text editor -
What key combination saves the current file?
What key combination opens the search menu?

A

CTRL + O combination saves the current file.

CTRL + W combination opens the search menu.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What nano key combination opens the help text?

A

CTRL + G

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In nano what will pressing the Esc key twice and then typing in a three digit decimal number do?

A

It will enter the character with the corresponding value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a META key?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In Linux where are config files that are used to configure the user applications, and config files used to control system-wide services placed?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Linux cmd that lists hidden files?

A

ls -la

lists hidden files that start with a “.” - Typically config files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command would you use to display the contents of the .bashrc file?

A

cat .bashrc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the default color coded output for ls?

A

color-coded output for ls (directories in blue, regular

files in grey, executable files in green

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Configuration files relating to system-wide services are place in what directory?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly