SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Unix Operating System
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Ordinary file that contains only printable characters
/etc/inid/nfs.client
Device Names
Text File
sysctl
2. Controls the hardware that manages mapping of virtual to physical memory
Interrupt handlers
nmbd
Hardware Address Translation (HAT)
/etc/shadow
3. Where the actual HTML web pages reside - stored in /var/apache/htdocs
Apache Document Root
inetd -t
Apache Error Log
SUID/SGID
4. init loads from /sbin/init - reads the /etc/inittab file and executes the listed run-control scripts located in /sbin/rd*.d
Init Phase
Kernel
free
truss
5. System Calls: fork() - creates a child process - wait() - exit() - __________ - execl() - execlp() - execv() - execvp()
kill (sig -pid)
Boot Programs Phase
/etc/hosts
sched PID of '0' -
6. LDAP package that contains the servers and other utilities necessary to configure and run the LDAP server
openldap-servers
Kernel Layer
5 - Multi-user Mode
umask
7. Lists the block on the disc where the data is stored - usually has a fixed size
/etc/resolv.conf
CIFS
Three Types of Signals
Inode Table of Contents
8. Command to view your swap partition
/sbin/service
df -k
showmount -e <ip address>
/etc/xinetd.d
9. Allows a device driver to be linked into and removed from the kernel while it is running
Loadable Kernel Modules (LKM)
openldap-clients
/etc/init.d
mount -F nfs hostname:directory / <mount point>
10. 'K' and 'S' in rc scripts: K is Kill - S is _______
Kernel Phase
/etc/xinetd.d
sysdef
Spawned
11. This Layer includes hardware such as CPU - system memory - the terminal - disks - CD-ROM - and NIC
ufsboot
sysctl
ps -elf
Hardware Layer
12. Command used to create a new group
df -k
Hardware Address Translation (HAT)
/etc/inetd.conf
groupadd
13. For Samba - it implements file and print services - as well as authentication and authorization
smbd
Boot Prom Phase
/etc/passwd
prtconf
14. Controls the hardware that manages mapping of virtual to physical memory
Inode
kill (sig -pid)
Hardware Address Translation (HAT)
SIGTERM 15
15. O - Running - R - Can be Executed - (S)leeping - (Z)ombie - T - Stopped
sysctl -p
Information Commands
df -k
Process States
16. Commands that reveals all *nix file systems - including disk space usage and their logical mount points
Hardware Address Translation (HAT)
.profile
free
df -k
17. The main configuration file for BIND
Schema
User to Kernel Transition Process
SIGKILL 9
/etc/named.conf
18. Four Ext* _________: Modify - Access - Change - Delete
rpcinfo -p
df -F ufs -o i
File Timestamps
Directory File
19. Four Fields of /etc/inittab: Label Name - __________ - Action - Command
Run-level Field
mmap()
SIGTERM 15
/etc/hosts
20. Command to view your swap partition in human readable format
/etc/inetd.conf
Spawned
Boot-up
df -h
21. This Layer includes hardware such as CPU - system memory - the terminal - disks - CD-ROM - and NIC
free
Hardware Layer
sysctl -w
Kernel Layer
22. These are found within the kernel layer at the level closest to the hardware
.profile
/etc/hosts
/etc/xinetd.d
Hardware Interface Modules
23. Phase with a sole function of loading the secondary boot program - ufsboot - and executing it
'#'
Boot Programs Phase
nmbd
Boot Prom
24. Phase with a sole function of loading the secondary boot program - ufsboot - and executing it
Boot Programs Phase
Hardware Address Translation (HAT)
Boot-up
Spawned
25. The command to report file system disk space usage
LDAP Data Interchange Format (LDIF)
Boot Prom Phase
/etc/resolv.conf
df
26. Three Steps of Kernel Phase: Create a user process - __________ - and starts other processes by reading /etc/inittab
mount -F nfs hostname:directory / <mount point>
start /sbin/init process
sched PID of '0' -
sysctl -w
27. Phase where the kernel initializes itself and begins loading modules using ufsboot. Once finished - it unmaps ufsboot
/proc/sys
rpcinfo -p
SIGTERM 15
Kernel Phase
28. This Layer consists of user processes that are running - including Shells - UNIX commands - utility programs - and user application programs
sysctl
User Layer
df -k
ps -elf
29. Sysdef parameter that defines the maximum number of processes that will run on the system
lsmod
System Call
max_nprocs
Logical Device Name
30. User space (outer ring) - the area in memory where user processes run and Kernel space (inner ring) - where kernel services are provided via kernel processes
UNIX "Rings of Protection"
Inode Table of Contents
who -r
umask
31. Command that allows files to be "memory mapped" by application programs
mmap()
Kernel Phase
/etc/hosts
/etc/inetd.conf
32. This Layer contains the system call interface and handles the mapping between user request and device driver actions - as well as converting user system calls to kernel service calls
sysctl
Kernel Layer
share -F nfs /<path>
/etc/inetd.conf
33. 4 Kernel Layer Functions: Process creation and termination - ________- file/disk access services - terminal handling services
Hard Link - with syntax
I/O services
Symbolic Link - with syntax
User Layer
34. Character used to stop a service from starting during boot up
Symbolic Link - with syntax
Kernel Layer
nmbd
System Call Interface
Inode
System call
UNIX "Rings of Protection"
init and telinit
df -h
Interrupt
/sbin/service
UNIX "Rings of Protection"
Boot Prom Phase
df -v
Apache Document Root
SIGQUIT 3
Loadable Kernel Modules (LKM)
Apache Server Root
/usr/sbin/slurpd
Instance Device Name
Boot Programs Phase
/etc/xinetd.d
User Layer
SIGKILL 9
Boot Prom Phase
Device
Hardware Layer
'#'
sched PID of '0' -
Apache Directory Structure
Group Descriptor Table
unlink()
Trap
Low level file I/O
ufsboot
SIGTERM 15
telinit -q
bash
Kernel Phase
Samba
Binary File
'#'
Memory Management Unit (MMU)
Device Names
Information Commands
Init Phase
df -k
SIGHUP 1
telinit -q
Process scheduling
Network Information Service Plus (NIS+)
/etc/resolv.conf
File Timestamps
/etc/nsswitch.conf
LDAP Data Interchange Format (LDIF)
Device File
sh
groupadd
Shell
SUID/SGID
.profile
Boot-up
/proc/sys
usermod
Restricted Shell
Kernel
sysctl
CIFS
pwconv
df
I/O services
Block File
SIGINT 2
start /sbin/init process
Hardware Layer
socket()
df -k
Ordinary File
rpcinfo -p
Shell
before /etc/profile
/etc/apache/httpd.conf
I/O services
/etc/passwd
Inode Table of Contents
Apache
Directory File
Berkeley Internet Name Daemon (BIND)
Interrupt handlers
df -h
Kernel Layer
Hardware Address Translation (HAT)
ufsboot
Kernel
System Call
df -h
groupdel
/etc/named.conf
File System Structures
start /sbin/init process
Boot Programs Phase
truss
ps -elf
/etc/xinetd.d
free
Init Phase
Process States
Library Function
ROOT Account
df -v
init and telinit
modinfo
/etc/services
HOME Vaiable
Ext*
share -F nfs /<path>
PATH=$PATH:/xxx/xxx/bin
sysdef
Schema
File System
Hardware Interface Modules
inetd.d
shareall
Apache Error Log
Character File
Hardware Address Translation (HAT)
df
Three Types of Signals
df -F ufs -o i
df -k
getty and ttymon
openldap
Network File System (NFS)
5 - Multi-user Mode
Six Superblock Components
uname()
getty and ttymon
/etc/shadow
Process scheduling
mount -F nfs hostname:directory / <mount point>
Device File
newgroup
Physical Device Name
User Layer
User to Kernel Transition Process
Device Driver
Environment
Signals
lo0
who -r
useradd -D
umask
Kernel Phase
sysctl -a
/etc/inetd.conf
kill (sig -pid)
3 - Multi-User Mode
/etc/group
showmount -e <ip address>
System Call Interface
openldap-clients
Text File
showmount -e <ip address>
touch -m/-a
max_nprocs
Data Block
free
strace
sysdef
Superblock
Memory Management Unit (MMU)
who -r
sysctl -w
Boot Prom
Lightweight Directory Access Protocol (LDAP)
smbd
Binary
sysctl -p
df -F ufs -o i
Logical Device Name
mmap()
/etc/passwd
id
Spawned
User to Kernel Transition Process
dmesg
openldap-servers
3 - Multi-User Mode
Interrupt handlers
prtconf
/etc/init.d
/etc/hosts
fdisk -l
Hardware Interface Modules
Binary (already built/compiled)
Directory Entry
/etc/inid/nfs.client
Boot Prom
Hard Link - with syntax
Run-level Field
useradd -m
inetd -t
5 - Multi-user Mode
lsmod
System call
Ext* File System
Run-level Field
useradd -n
35. Can be configured to restrict the activities of users by modifying the last entry in the /etc/passwd
Restricted Shell
df -F ufs -o i
/sbin/service
/etc/inid/nfs.client
36. File type that does not contain any "data" - but has attributes associated with it
UNIX "Rings of Protection"
Device File
who -r
Spawned
37. A routine that can be invoked by a C program to access system resources
Device
Ext* File System
Process scheduling
System Call
38. 6 Hardware Interface Module Functions: ________ - memory management - interrupt handling - low level device control - disk system management - Process synchronization & IPC
System Call
Binary (already built/compiled)
Process scheduling
Physical Device Name
39. init loads from /sbin/init - reads the /etc/inittab file and executes the listed run-control scripts located in /sbin/rd*.d
ROOT Account
rpcinfo -p
Init Phase
Ext* File System
40. Quit from terminal
lo0
id
truss
SIGQUIT 3
41. Daemon that lists port/service mappings
3 - Multi-User Mode
/etc/xinetd.d
/etc/services
getty and ttymon
42. This Layer consists of user processes that are running - including Shells - UNIX commands - utility programs - and user application programs
User Layer
free
5 - Multi-user Mode
Hardware Layer
43. 6 Hardware Interface Module Functions: ________ - memory management - interrupt handling - low level device control - disk system management - Process synchronization & IPC
Process scheduling
Inode Table of Contents
/etc/shadow
df -v
44. Device file for devices such as floppy drive - CDROM - etc; located in the /dev/dsk directory
fdisk -l
User to Kernel Transition Process
Init Phase
Block File
45. Command used to print UID and GID
df -F ufs -o i
id
shareall
Low level file I/O
46. A simple data structure that contains the file name and the inode address where the file's metadata can be found - also contains a pointer to the next entry
inetd -t
Shell
Directory Entry
I/O services
47. A pointer to a file's inode - can be thought of as having the linked file being "the same" as the original; ln <targetfile> <linkfile>
Ext* File System
usermod
/usr/sbin/slurpd
Hard Link - with syntax
48. In Solaris - this shares the filesystem pointed to the <path> - where -F identifies the file system type
/etc/apache/httpd.conf
User to Kernel Transition Process
share -F nfs /<path>
/proc/sys
49. Allows you to change a variable in the sysctl.conf
ps -elf
Logical Device Name
Library Function
sysctl -w
50. Command used to convert/sync information in the /etc/passwd and /etc/shadow files
LDAP Data Interchange Format (LDIF)
pwconv
sysctl -w
nmbd