Understanding Man Pages Flashcards

1
Q

How do you start the vncserver manually?

A

vncserver

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

How would you enable the vnc server to run automatically?

A

systemctl enable vncserver@:>n<

i. e systemctl enable vncserver@:1
* instance number 1 > correlates to port 5901

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

What is the default port vnc uses?

A

5900

5901+ used for multiple virtual displays

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

How do you connect to a node using vnc?

A

ip: :port

i. e 172.16.23.5::5901

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

On a man page what represents an arbitrary length of items that can be specified?

A

i.e ls [OPTION]… [FILE]…

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

On a man page, how do you know the order of arguments?

A

Denoted by brackets, remove the outermost bracket to get the order
i.e cal [options] [[[day] month] year]
order is: year month day

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

On a man page how do you differentiate between an optional and required parameter?

A

[] - optional (encased in brackets)

_ - required (underlined)

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