Hi.
I've got a bunch of different Ubuntu Server images, some on VMs and some on real hardware.
Each box, I generally have one or maybe a few apps, and for admin I want to have a set of terminal windows open and in consistent spots so I can easily switch.
I've been using screen, but when I reboot I lose the setup. I've been trying to get a .screenrc and I can't seem to get it working.
Here's an example:
Code:
screen -t '/var/log/messages' -- and then I want to cd to /var/log/messages
screen -t 'tomcat7' -- and then I want to change to the tomcat7 user, and change to the tomcat home directory.
There are often over a dozen screens, and sometimes I would like to source a file or execute some other script, and then end up in a shell.
When I use sudo in .screenrc the shell exits when I type in the password.
Anyone have ideas for help? Even a similar .screenrc that somebody can post.
Thanks.
Bookmarks