Created
February 23, 2015 21:52
-
-
Save varhub/4bcfb6dfb7e8f3572e26 to your computer and use it in GitHub Desktop.
A simple terminal invoker. Perfect for single session environment, such as **forwarded ssh** or **chroot**
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Terminal invoker | |
xterm -T "Terminal launcher" -geometry 40x3+0+0 -e ' | |
while true | |
do | |
echo "Press Ctrl+C for a complete exit" | |
echo "Press enter to open a new console ;)" | |
read | |
x-terminal-emulator & | |
done' & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment