Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Bash by OLeГ ( 14 years ago )
#!/bin/bash
# Вывести на экран PID процесса, запущенного последним (с последним временем запуска).

ps -U oleg -o pid,stime | tail -n +2 | sort -r -k2 | head -1 | awk '{print $1}'

exit 1

 

Revise this Paste

Children: 93468
Your Name: Code Language: