how to kill the tty in unix

前端 未结 10 1526
遇见更好的自我
遇见更好的自我 2020-12-23 20:52

This is the result of the finger command (Today(Monday) when I (Vidya) logged in)

sekic1083 [6:14am] [/home/vidya] -> finger
Name        Tty          


        
10条回答
  •  盖世英雄少女心
    2020-12-23 21:38

    You can use killall command as well .

    -o, --older-than Match only processes that are older (started before) the time specified. The time is specified as a float then a unit. The units are s,m,h,d,w,M,y for seconds, minutes, hours, days,

    -e, --exact Require an exact match for very long names.

    -r, --regexp Interpret process name pattern as an extended regular expression.

    This worked like a charm.

提交回复
热议问题