LinuxZoo Flashcards

0
Q

The directory where you are in at the moment, also known as your working directory; may be referred to as . (dot)

A

Current Directory

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

The directory in which the Unix system places you at login is called ___, also may be referred to as ~ (tilde).

A

Home Directory

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

The directory above the current directory in the naming tree, which may be referred to as .. (double dot)

A

Parent Directory

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

There are three different levels of file permission

A

r - read: allows users to read the contents of a file
w - write: allows users to change the contents of a file
x - execute: signifies a program or script file and allows users to run the file

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

File permissions can be set for three different levels of ownership

A

u - user: the user who created the file is its owner
g - group: group to which you are assigned, usually made up of those users engaged in similar activities, and who need to share file among themselves
o - others: all other users on the system

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

As the leading character to a file, the possibilities include

A
  • means a normal file
    d means directory
    c means a character device (mouse, keyboard)
    b means block device (ide disk, scsi disk)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

File permission values for any digit related to owner, group, or other are derived from adding the value of the permissions from the following list

A

0 - no permission (-)
1 - execute permission only (x)
2 - write permission only (w)
4 - read permission only (r)

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

Display manual pages on a command

A

man

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

Display a month-long calendar

A

cal (input as ‘m yyyy’ or just yyyy)

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

Display the current date

A

date

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

Use this command for the home directory of a particular user

A

~name of the user

e.g. ~root, ~john, ~demo

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