unix profile file
Posted on 2011-10-28
i have a HPUX server and there are several users who all have their own directories in the /home directory.
in each of these /home/user directories, there is a .profile file. if i what to keep a user out of our software, i comment out the last line of their .profile file.
if i want to comment out the last line of most but NOT all of the users, is their an easy way to do this without editing each individual file? there are several users and editing each file would take a long time.