The UNIX Operating System

TOP

UP


Ray Seyfarth

ORCA


Computer Science

COST

USM




set


  • set -v = verbose; echoes commands

  • set -x = print each command as it is executed

  • set - = disable -v and -x

  • set -- `ls -l /etc/motd`
    leaves words in $1, $2, ...

  • set X `command`
    shift
    also leaves words in $*


University of Southern Mississippi
Ray.Seyfarth@usm.edu
Updated 15:45 Sep 13, 2006