EECS 1012 Lecture Notes - Lecture 22: System Administrator
EECS 1012 Lecture 22 Notes
Introduction
The Command Language Start-up Sequence Files
• The ability to branch and loop
• Notice that the ability to change variable values is important as a means of controlling
branches and ending loops.
• The ability to specify arguments with the command that executes the program and to
transfer those arguments into parameters and variables within the program
• The command script uses this technique to allow the user to specify the name of the file
to be backed up.
• The ability to detect an error that results from a command and recover from it in a
graceful way
• If the operating system attaches numerical values to its errors, the command program
can make decisions and branch based on the level of error.
• This could be used to determine if a particular file or a particular hardware component
exists, for example.
• A major use for a command language is the system start-up file.
• Most modern operating systems allow the execution of specific command files at
system start-up and also when a user logs in to the system.
• Two types of start-up files exist.
• One type is used to configure the basic operating system, as we discussed
• Start-up configuration files are only modified by the system administrator.
• The second type of start-up file is used to tailor the syste to the user’s prefereces.
• User start-up commands can be used to set various parameters
• Such as the preferred places to look for files, the type of terminal that the user is
working with, the selection of a command shell, and the appearance of the command
line prompt.
find more resources at oneclass.com
find more resources at oneclass.com
elden1340 and 38522 others unlocked
10
EECS 1012 Full Course Notes
Verified Note
10 documents