I am new to unix and have a directory containing a large number of user sub-directories, each containing a file called .profile
Inside each .profile file there is a line showing the terminal number.
If I want a list showing the user directory name and the corresponding terminal number, how would I go about doing this?
Below is a cut out from the .profile file. (LINE=135 is the terminal number.)
Inside each .profile file there is a line showing the terminal number.
If I want a list showing the user directory name and the corresponding terminal number, how would I go about doing this?
Below is a cut out from the .profile file. (LINE=135 is the terminal number.)
Code:
# For Network Terminal Server Login.
LINE=135 ; export LINE # TERMINAL_NUMBER set by user scrip
t