Linux Filesystem Flashcards

1
Q

Two types of Linux users

A
  • Normal User
  • Super User/Admin, root
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Superuser

A
  • Can access all parts of the system to execute admin tasks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Do files in Linux need a file extension?

A

No

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

How to hide a file in linux?

A

add a . in front of the name

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

Who can grant permissions to files?

A
  • File owner
  • Root admin user
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Permission types in Linux

A
  • Read
  • Write
  • Execute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Filesystem Hierarchy Standard (FHS)

A

Distinguishes between shareable and unshareable files, and between static and variable files

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

In the Linux filesystem “.” refers to:

A

The root directory

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

In the Linux filesystem “..” refers to:

A

The folder above the one you are in

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

Hard Link

A
  • A duplicate directory entry where both entries point to the same file
  • Same file system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Symbolic Link

A
  • A file that refers to another file from its name
  • Can cross file system (os) boundaries
  • Create a link to a directory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which UID is usually used to represent the first regular user on a Linux system

A

1000

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

ls -d

A
  • Show info about a directory or symbolic link
  • Usually just its respective path, though
How well did you know this?
1
Not at all
2
3
4
5
Perfectly