Term
| FHS- File Hierarchy System |
|
Definition
| specifies which directories must be located on the first level after the root directory and what they contain. |
|
|
Term
|
Definition
| the point where you mount a filesystem; for temp purposes use /mnt directory otherwise make an appropriately named directory. |
|
|
Term
|
Definition
| /lib directory contains the libraries used by programs in the directories /bin; and /sbin; Kernal modules located in /lib/modules |
|
|
Term
|
Definition
| [ mount dev/hd1 /data ] (will be mounted into /data directory) |
|
|
Term
|
Definition
| defines how storage devices and partitions are to be mounted and integrated into the overall system |
|
|
Term
|
Definition
| handles the mounted devices and is automatically updated by the mount command. |
|
|
Term
|
Definition
| each piece os hardware is represented by this. |
|
|
Term
|
Definition
| references to files located at other points in the file system |
|
|
Term
|
Definition
| a special file with which data exchange between two locally running processes can be implemented through the file system. |
|
|
Term
|
Definition
| (first in first out OR named pipe): files used to exchange data between processes, one direction of exchange only. |
|
|
Term
|
Definition
| creates a file; type [touch bob] creates a file named bob |
|
|
Term
|
Definition
|
|
Term
|
Definition
| shows first 10 lines of a file |
|
|
Term
|
Definition
| shows bottom 10 lines of a file |
|
|
Term
|
Definition
| move a file from one directory to another or rename it [mv /home/myfile /home/yourfile] changes name of file to yourfile and keeps it in the same directory /home |
|
|
Term
|
Definition
| copy a file from one directory to another |
|
|
Term
|
Definition
|
|
Term
|
Definition
| remove a directory [IF ITS EMPTY] |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
| used to find files with specific features |
|
|
Term
|
Definition
| locate files that meet some criteria [find /--name examplename] looks through file names not content. |
|
|
Term
|
Definition
| alternative to [find] command |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
| what type of file or command when the command is entered, tells you if it is in the shell or it tells you what directory it is in. |
|
|
Term
|
Definition
| searches through contents of files, where the [find] command only looks through file names. |
|
|
Term
|
Definition
| special metacharacters used to match patterns of text within text files; communly used by text tool commands such as grep. |
|
|
Term
|
Definition
| lets you collect multiple files or even entire directories into an archive |
|
|
Term
|
Definition
| most commonly used tool for backup |
|
|
Term
|
Definition
| command used to view the contents of text files that have been compressed with gzip. |
|
|
Term
|
Definition
| used to make and access and archive, you can extract all of those files but just want one file, cpio can extract just this one file. |
|
|
Term
|
Definition
| used to copy files and directories to a different location on the local computer or to a remote computer across a network. |
|
|
Term
|
Definition
| used to copy files to an alternate location using a particular format or method. |
|
|
Term
|
Definition
| (magnetic tape) command used to manage tape devices |
|
|
Term
|
Definition
|
|
Term
|
Definition
| default login shell stored in etc/password |
|
|
Term
|
Definition
| default login shell stored in etc/password |
|
|
Term
|
Definition
| keep track of how many commands default is 1000 commands, type history to see all or press up on keyboard. type !30 to execute command 30. |
|
|
Term
|
Definition
|
|
Term
|
Definition
| switch user allows you to run x server |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
| create a shell var by typing bob=echo hello ; only visible in current shell |
|
|
Term
|
Definition
| visible in current shell and any sub shells you start |
|
|
Term
|
Definition
| echoes back to the screen type [echo $bob] shows value of bob |
|
|
Term
|
Definition
| create shortcuts to commands and their options; [alias hello='echo"hello $USER"' |
|
|
Term
|
Definition
| will tell you if its build into the shell or not |
|
|
Term
|
Definition
| regular expression syntax, search for strings or patterns in files |
|
|
Term
|
Definition
| symbol: [||]. send the output from one program to the input for another program |
|
|
Term
|
Definition
symbol: [>]. sends the output from one program to a file, overwrites existing file can send to the printer [ ls > /dev/lp0 ]
symbol: [<]. gets input from a file and puts unto the program |
|
|
Term
|
Definition
| takes one output and splits in two, into a file and to standard output (monitor) |
|
|
Term
|
Definition
| Does first command ONLY. if successful, then it does command two. |
|
|
Term
|
Definition
| if first command is successful don’t do second, if first FAILS, do second command. |
|
|
Term
|
Definition
text editor: You enter in command mode press i to enter insert mode esc to return to cmd mode :q to quit without saving :wq or :x to save and quit |
|
|
Term
|
Definition
| vim, emacs, xmacs, joe, e3, pico |
|
|
Term
|
Definition
| stream editor, lets you do non interactive editing on a file , replace every occurrence of bob with Robert. |
|
|
Term
|
Definition
| text manipulator, same action as sed |
|
|
Term
|
Definition
| converts the passwd file to the shadow file |
|
|
Term
|
Definition
| remove etc/shadow and convert your user accounts to etc/passwd only |
|
|
Term
|
Definition
| modify charactictics of the user |
|
|
Term
|
Definition
| allows you to modify a group |
|
|
Term
|
Definition
| lets you set limits on resources |
|
|
Term
|
Definition
know chmod set permissions on the file what is the command [chmod 6 4 0] UGR user group other 777 for directory and 666 for files |
|
|
Term
|
Definition
| change file ownership [ chown new_user filename ] changes just owner, to change group as well in one command [ chown new_user.new_group filename ] |
|
|
Term
|
Definition
| this command changes the group affiliation. only usable if the user IS THE OWNER and a MEMBER OF THE NEW GROUP. |
|
|
Term
|
Definition
| type [umask 022] and it subtracts from the default, read means u can do ls to list contents, write means u can add and delete, and execute means you can cd into the directory. |
|
|
Term
|
Definition
start quota service [ quotaon ] Hard Limits: Cannot be exceeded Soft Limits: Can be exceeded TEMPORARILARY, grace period is set to 7 days. |
|
|
Term
|
Definition
| initialize the quota system |
|
|
Term
|
Definition
edit current quote settings for a user or group [ edquota -u username ]; [ edquota -g groupname ] |
|
|
Term
|
Definition
| [ insserv scriptname ]; [ ln scriptname ] |
|
|
Term
| What are the File Systems? |
|
Definition
Ext2 - uses e2fsck Ext3 ReiserFS - [ mkreiserfs ] JFS - developed by IBM for its AIX systems XFS - started by XFS |
|
|
Term
|
Definition
| used for partitioning hard disks [ fdisk /dev/hdb ] |
|
|
Term
|
Definition
| command to make file system; [ mkfs -t ext2 /dev/hdb1 ](specifies file type) |
|
|
Term
|
Definition
| [fsck filesystem] to check and repair file systems; defaults to checking filesystems in etc/fstab |
|
|
Term
|
Definition
| Redhat Package Manager; manages software packages on host |
|
|
Term
|
Definition
| used to compile multiple source files in the correct order; can also use to install and uninstall the program to or from the right location on a hard disk. |
|
|
Term
|
Definition
| (startup prompt) Grand unified boot loader, give you option to select which kernel you want to boot. |
|
|
Term
|
Definition
| boot manager similar to GRUB |
|
|
Term
|
Definition
| a system process that is not associated with the terminal |
|
|
Term
|
Definition
| returns all processes that have been started from that shell and run in the background, each is assigned a job ID# |
|
|
Term
|
Definition
| shows you the processes running “Task Manager” |
|
|
Term
|
Definition
| KDE System Guard: process status |
|
|
Term
|
Definition
| KDE System Guard: shows how much computing time processes use |
|
|
Term
|
Definition
| KDE System Guard: moves a process to the background or type [ xeyes & ] to run in background |
|
|
Term
|
Definition
| KDE System Guard: moves a process to the foreground |
|
|
Term
|
Definition
| change priority of a process |
|
|
Term
|
Definition
|
|
Term
|
Definition
| changes nice priority (only root can give a negative priority#) |
|
|
Term
|
Definition
| to change runlevel type [ runlevel 5 ] |
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
| (runlevel) multi user no networks no graphics |
|
|
Term
|
Definition
| (runlevel) multi user with networking no graphics |
|
|
Term
|
Definition
|
|
Term
|
Definition
| (runlevel) multi user with networking and graphics [default boot runlevel] |
|
|
Term
|
Definition
|
|
Term
|
Definition
| started by the kernal as the first process of the system, since it is the last process running, it ensures all other processes are correctly ended. CONTROLS BOOT UP AND SHUT DOWN |
|
|
Term
|
Definition
| configuration for init process, where you can control runlevels in the init environment |
|
|
Term
|
Definition
| a predetermined reaction process |
|
|
Term
|
Definition
| used to schedule a REOCCURRING job; example: run a job Mon - Fri every 10 min etc |
|
|
Term
|
Definition
| contains the cron schedule listing |
|
|
Term
|
Definition
| used to schedule a ONE TIME job |
|
|
Term
| What are the 3 components of PROCESS? |
|
Definition
|
|
Term
| What are the Process Elements? |
|
Definition
PID (process ID #) Priority PC (Program Counter) Memory Pointers ( shows location of allocated memory) I/O status info Accounting Info (who is using the resources on the computer) |
|
|
Term
| PCB: Process Control Block |
|
Definition
| has all info needed to control your process, has PID, UID, GID, priority. |
|
|
Term
|
Definition
| two states: running and not running |
|
|
Term
|
Definition
admit disptch rlease New------>ready<-------->running->exit | timeout | | | blocked<-----------| |
|
|
Term
|
Definition
| when one process has been executing, and we to to another process, timeout, I/o, termination, interrupt. we save the process status and registers, and select the next process and update status. PC always has the next process to fetch |
|
|
Term
|
Definition
| the time it takes when a process is activated to when it executes |
|
|
Term
|
Definition
| how much work you get done in a given set of time ( work completed in a day ) |
|
|
Term
|
Definition
| how fast the scheduling is. |
|
|
Term
|
Definition
| Processes have different priorities (PID), The lower the PID the faster they run. there are multiple queues to represent each level of priority |
|
|
Term
|
Definition
| one process cannot be interrupted and can run forever, no timeout. |
|
|
Term
|
Definition
| current process may be interrupted and moved to the ready state by the OS, allows for better service since one process cant monopolize the processor. |
|
|
Term
| FCFS (First Come First Serve) |
|
Definition
| each process joins the ready queue, and waits its turn, and next in line is executed in order. favors CPU bound processes |
|
|
Term
|
Definition
| uses preemption based on a clock, assigns time slices to processes, Everyone gets a turn. |
|
|
Term
|
Definition
| SHORTEST PROCESS NEXT. nonpreemptive, process with the shortest expected processing time is selected next. |
|
|
Term
|
Definition
|
|
Term
|
Definition
Highest Response Ratio Next: choose next process with the greatest ratio { time spent waiting + expected service time / expected service time } |
|
|
Term
|
Definition
| changes priority during execution and is moved to different queue line; penalize jobs that have been running longer. |
|
|
Term
|
Definition
|
|
Term
|
Definition
| programmer does not know where the program will be placed in memory when it is executed. While in execution, may be swapped to disk and returned to memory at a different location. |
|
|
Term
|
Definition
| processes should not be able to reference memory in another process without permission. |
|
|
Term
|
Definition
| allow several processes to access the same portion of memory |
|
|
Term
|
Definition
| any process whose size is less than or equal to the partition size can be loaded into an available partition. If a partition is full, the OS can swap a process out of a partition. |
|
|
Term
|
Definition
| Occurs in Fixed Partitioning; already allocated, but has not been used, if my parttion is 10b and my program is 6 b there is wasted space, any program no matter how small occupies the entire partition. |
|
|
Term
|
Definition
| process allocated exactly how much memory as is needed, eventually get holes in memory, called external fragmentation. |
|
|
Term
|
Definition
| occurs in Dynamic Partitioning; have memory that is unallocated but is too small to be useful. |
|
|
Term
|
Definition
| Starting address for the process {only exectues if offset + base <= bounds} |
|
|
Term
|
Definition
| ending location of the process {only exectues if offset + base <= bounds} |
|
|
Term
|
Definition
| divide memory and each process into equal size chunks called pages (process) and frames (memory) |
|
|
Term
|
Definition
| portion of a process, if you call a page and it's not in memory then you have a page fault it has to go look in Virtual memory, Occurs when you try to access something that is not in memory |
|
|
Term
|
Definition
| changes the user id in [usermod] |
|
|
Term
|
Definition
| most expensive part of computer, determines efficiancy. |
|
|