Mod 8 Day 3 Flashcards

(42 cards)

1
Q

Conventional default file systems used by Common OS’s

A

Linux

Solaris

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

Common network-based file systems

A

NFS Network file system

SMB server message block

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

Contains the basic Tools and utilities sufficient to keep the system going. Included are /boot /bin /sbin /etc /dev and /tmp

A

Root file system

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

Provides the kernel with a location to move processes out of memory when the system is under a heavy memory load (swapping)

A

Swap file system

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

On a Linux system this views the disks physical partitioning scheme

A

fdisk -l

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

Command for both Solaris and Linux that reveals all nix file systems their DISK SPACE usage and they’re logical mount points in blocks

A

df -k

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

An Ext ____________ is located 1024 bytes from the start of the file system, is 1024 bytes in size and contains the following information:
Total number of inodes
Total number of blocks
Block size
Number of blocks per block group
Number of inodes per block group
Number of reserved blocks before the first block group

A

Superblock

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

This command is for both Solaris and Linux, and it prints the super block and block group information for the file system

A

dumpe2fs

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

The _______ __________ _______ comes immediately after the Super block. This table describes each block groups layout.
Starting block address of the block bitmap
Starting block address of the inode bitmap
Starting block address of inode table
Number of unallocated blocks in the group
Number of unallocated inodes in the group
Number of directories in the group
Unused bytes

A

Group descriptor table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
The file system is organized into \_\_\_\_\_ \_\_\_\_\_\_\_ containing a super Block in a group descriptor table describing the block group layout. It contains the following:
Super block
Group descriptor table
Block bitmap
Inode bitmap
Inode table
Blocks containing file data
A

Block group

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

This is the basic file allocation unit for ExtX it is used to store file content, and it’s sizes are defined in the super block. These are a group of consecutive sectors and can be 1024 bytes, 2048 bytes, or 4096 bytes.

A

Block

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

The metadata for each file in directory is stored in a data structure called an ______, these contain information processes needed to access a file

A

Inodes

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

The allocation status of an inode is determined using the?

A

Inode btmap

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

The inode ______ __ ______ list the blocks on the disc where the data is stored

A

Table of contents

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

What three times stamps does the Ext3 system support?

A

Modification
Access
Change

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

This command Works in Linux and is used to view file or file system status to include timestamps

A

Stat

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

This command is used in both Linux and Solaris and creates an empty file and can also alter timestamps

The modification and Access times are changed with what to options

18
Q

This is a simple data structure containing filename and inode address where the files metadata can be found. It also contains a pointer to the next entry, and maps file name to directory

A

Directory entry

19
Q

A pointer to a files inode, thought of as the same as the original

20
Q

A file containing a path name of another file, it’s like a pointer to the files NAME and does not increase.

A

Symbolic link

21
Q

What device name is used to access disk devices when performing any of the following:
Add a new disk to the system
Move a disc from system to system
Backups
Mount or access a file system on a local disk
Repair a file system

22
Q

This command with no options displays a list of mounted file systems with proper options and permissions it can map a logical device name to a file system.

23
Q

What are your two key file types

A

Regular and special

24
Q

What are your two categories in a regular file type

A

Text in binary

25
This command Works in both Linux and Solaris it identifies file type by probing each object with three types of tests until one succeeds
File
26
What are the three classes of users for file permissions, and what characters are used to represent each
Owner group and other | U G. O
27
This command Works in both Solaris and Linux and it modifies the default settings, and with no options displays the current value
umask
28
Permissions for files and directories are set with what command? This also works for both Solaris and Linux
chmod
29
This command Works in both Solaris and Linux it's used for changing user and or group ownership of a file.
chown
30
This bit allows anyone to run a program (executable) with the same privileges as its owner or group
SUID/SGID
31
A variable and its value is displayed using what command
echo $PATH
32
There are two types of variables one being local and one being global what are they?
Shell and environmental
33
This command Works in both Solaris and Linux and displays existing shell variables environmental variables and shell functions
Set
34
After a variable is created running this command followed by the variable name will allow child processes to access the variable
Export
35
These are available in all shells including bourne (sh), Bourne again (bash), and c shell
Environmental variables
36
This command Works in both Solaris and Linux and displays only existing environmental variables
env
37
As an alternative to rebooting Bash's ______ command is used to read an execute the update script for the current shell only
Source
38
There are two ways of invoking Bash the first requires System Authentication. The second way requires no additional System Authentication
Login and non login
39
To determine if the current shell is a login or non login what command is used
Echo $0
40
Solaris and Linux use what type of shell to prevent unauthorized users from obtaining shell access
Nologin
41
This type of shell is part of the SSH Suite and can be configured to specifically restrict a user to use SCP or SFTP
Restricted secure shell rssh
42
This is a Linux command that automatically updates the /etc/passwd file with the changed shell
chsh