practice quiz Flashcards

1
Q

Where is the user config file for neovim stored?

A

~/.config/nvim/init.lua

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

How do you install the latest version of a package on arch?

A

sudo pacman -S package-name

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

how to make a folder and a subfolder inside?

A

mkdir -p dir1/dir2

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

How to add a user to a group?

A

sudo usermod -aG groupname username

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

What does /etc/passwd contain?

A

user password info including hashes

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

where is “mkdir” contained?

A

/usr/bin/mkdir

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

What is the command for checking the status of a service?

A

systemctl status <service></service>

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

Do service files need to be executable?

A

no

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