#! /bin/sh # # Filename: removex # # Programmer: Br. David Carlson # # Date: March 26, 1994 # # This Bourne shell program removes the "execute" permission from # the file given as the command line parameter. # if [ $# -eq 1 ] # Number of parameters should be 1 then chmod a-x "$1" # Remove execute mode on this file for all else echo "One parameter needed, the name of the file to modify" fi