Friday, November 12, 2010

Shell: setting unsetting functions

who_is_on ( ) { Define a function
    who | awk ' { print $1 }' | sort -u     //Generate sorted list of users
}
. . .
unset -f who_is_on    //Remove the function


No comments:

Blog Archive