Linux Facts Flashcards

1
Q

What are environmental variables?

A

Process wide variables built into the system and interface controlling look and feel for the user.
They are inherited by any child shell or process

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

What are Shell variables

A

Only valid in current shell and typically lower case.

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

How do you find out what version of the kernel you are running?

A

uname -a

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

How do you view all your kernel modules

A

lsmod
In /lib/modules
Or /user/lib/modules

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

How to find more information about a particular kernel module?

A

modinfo MODULE (using the name from lsmod)

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

How to install or remove a kernel module?

A

insmod
rmmod

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