codice:
#!/bin/sh

TOP=`top &`

sleep 2;
killall top

echo $TOP
top: failed tty get

top: nessun processo terminato


come faccio?