S Swapjim Oct 13, 2015 #1 csh takes ~/.logout into account but sh ignores it. I tried creating ~/.sh_logout but to no avail. Is there a way to have sh clear the screen on logout?
csh takes ~/.logout into account but sh ignores it. I tried creating ~/.sh_logout but to no avail. Is there a way to have sh clear the screen on logout?
T tobik@ Developer Oct 14, 2015 #2 Swapjim said: Is there a way to have sh clear the screen on logout? Click to expand... Sure. Add trap clear EXIT to your ~/.shrc.
Swapjim said: Is there a way to have sh clear the screen on logout? Click to expand... Sure. Add trap clear EXIT to your ~/.shrc.
T tingo Oct 14, 2015 #4 Look at that. I never knew that clear would work instead of tput clear. Thanks!