Automatic, periodic and timed events (+)
Up
Next
Previous
Automatic, periodic and timed events (+)
There are various ways to run commands and take other actions automatically
at various times in the ``life cycle'' of the shell. They are summarized here,
and described in detail under the appropriate Builtin commands,
Special shell variables and Special aliases.
The sched builtin command puts commands in a scheduled-event list,
to be executed by the shell at a given time.
The beepcmd, cwdcmd, periodic, precmd, and postcmd
Special aliases can be set, respectively, to execute commands when the shell wants
to ring the bell, when the working directory changes, every tperiod
minutes, before each prompt, and before each command gets executed.
The autologout shell variable can be set to log out or lock the shell
after a given number of minutes of inactivity.
The mail shell variable can be set to check for new mail periodically.
The printexitvalue shell variable can be set to print the exit status
of commands which exit with a status other than zero.
The rmstar shell variable can be set to ask the user, when `rm *' is
typed, if that is really what was meant.
The time shell variable can be set to execute the time builtin
command after the completion of any process that takes more than a given
number of CPU seconds.
The watch and who shell variables can be set to report when
selected users log in or out, and the log builtin command reports
on those users at any time.
Up
Next
Previous
Wyszukiwarka
Podobne podstrony:
SHSpec 167 6206C28 Question and Answer PeriodSHSpec 025 6107C05 Q and A Period Procedures in Auditing20 Seasonal differentation of maximum and minimum air temperature in Cracow and Prague in the periodVIKING TOURS AND EVENTS 06Classifying Surveillance Events From Attributes And BehaviourSHSpec 031 6107C19 Q and A Period Auditor Effect on Meter ReadSHSpec 159 6206C19 Question and Answer PeriodSHSpec 056 6109C20 Q and A Period What is knowable to the PCSHSpec 069 6110C19 Q and A Period FlowsSHSpec 015 6106C19 Q and A Period Auditing Slowdownstest automation and tools?608794Dan14 Seven Key End time Events and Trends (Dan 12 1 10)SHSpec 152 6205C29 Question and Answer PeriodSHSpec 055 6109C19 Q and A Period Prehav, Sec checks, ARC Break Processesevents and signalss4567DCSHSpec 013 6106C13 Seminar Q and A PeriodSHSpec 059 6109C27 Q and A Period State of Beingnesswięcej podobnych podstron