CSCE3600 - Exam 1 Flashcards
unix command: concatenates files and print to standard output
cat
unix command: file viewer
less
unix command: locate a command
which
unix command: prints the groups a user is in
groups
unix command: prints lines matching to a pattern
grep
unix command: search for a file in a directory
find
unix command: clears the terminal screen
clear
unix command: prints information about a user
finger
unix command: shows who is logged in
who
unix command: identifies the current user
whoami
List 7 processes associated with Process Control Block (PCB)
process state, program counter, cpu registers, cpu scheduling information, memory-management info, accounting info, I/O status info
program in execution, which forms the basis of all computation
process
the context (information/data) maintained for an executing program - intuitively the abstraction of a physical processor
process
Process: containing temporary data (function parameters, return addresses, local variables)
stack
process: containing global variables
data section
process: containing memory dynamically allocated during run time
heap
how does unix view everything?
as files
what are the three standard unix/linux files?
stdin, stdout, stderr
what is stored in the user level context (4)
code, data, stack, heap
preserve the literal value of each character enclosed within the quotes
single quotes (‘ ‘)
remove the special meaning from a single character
backslash ( \ )
preserves the literal value of all characters within the quotes
double quotes (“ “)
draw the process state diagram
new, running, waiting, ready, terminated
selects which processes should be brought into the ready queue. controls the degree of multiprogramming. invoked infrequently
long-term scheduler