Ubuntu Pastebin

Paste from 4567546 at Tue, 21 Mar 2017 13:35:18 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
$ cat testme
#!/bin/bash
#this is a test
while true ; do 
echo "running" > /dev/null
sleep 2
done

----
$ shc -f testme
----
$ ./testme.x
----
$ ps ax | grep testme
 3602 pts/5    S+     0:00 ./testme.x -c
<many empty lines here>
#!/bin/bash #this is a test while true ; do  echo "running" > /dev/null sleep 2 done  ./testme.x
Download as text