Run the “set autologout=[n]” command to enable or disable the autologout feature in C Shell (csh)

Setting autologout to “0” will disable the autologout feature.

set autologout=0

The first line below will set the autologout period to 1 minute and the second line will be 5 minutes. If there is no activity for the set time, you will automatically be logged off from yoru C Shell (csh) session.

set autologout=1

set autologout=5