Ubuntu Pastebin

Paste from ppq at Mon, 5 Oct 2015 16:29:28 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/usr/bin/expect -f

# Get a Bash shell
spawn -noecho bash

# Wait for a prompt
expect "$ "

# Type something
send "nohup "

# Hand over control to the user
#interact -o \r exit
interact -o -exact "nohup: ignoriere Eingabe und hänge Ausgabe an »nohup.out“ an" exit

exit
Download as text