Main index

Introducing UNIX and Linux


Processes and devices

Overview
Processes
      Process status
      Foreground and background
      Process control
      Signals
Environment
      Environment variables
      Global and local variables
      Executable scripts
Program control
      Job control
      Command history list
      Running a job at a specific time
      Running programs periodically
      Big programs
      Timing a program
      Running programs in order
Quotes and escapes
Devices
Backquotes
Summary
Exercises

Answer to chapter 6 question 3

Use at to schedule the alarm call by giving it argument now + 1 hour. Remember that at will mail you the standard output from the commands you give it, so you must send the message directly to the device which is your terminal. You can find out the device name using tty:

tty
/dev/ttypf
at now + 1 hour
at> echo "Your alarm" >/dev/ttypf
at> ctrl-D


Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck