[bglug] A grande richiesta

Joe Galaxy joegalaxy@gmail.com
Ven 5 Ago 2011 19:17:04 CEST


On ven 05 ago 2011 18:27, Andrea Campanella <emuboy85@gmail.com> wrote:

> è il mio preferito :D

cat killmesoftly ->

#!/bin/bash
# Time-stamp: <killmesoftly, 5/8/2011 19:14:54 joe Exp>

pid="$(ps aux | awk '{print $2}' | sort -R | head -1)"
name="$(ps --pid "$pid" | sed 1d | awk '{print $4}')"

echo "Killing "$name" softly..."
kill -9 "$pid"

-- 
$(echo 502625742692402704447754P|dc)@gmail.com


Maggiori informazioni sulla lista bglug