[kwlug-disc] ssh into remote with initial command, and stick!

Khalid Baheyeldin kb at 2bits.com
Wed May 22 19:32:06 EDT 2013


If what Paul said is what you want, then just create a ~/.screenrc file and
put these two lines in it:

screen -t shell    1 bash # This is just a shell
screen -t top      2 bash -c top # This is your top

Top will be in the 2nd "window".
-- 
Khalid M. Baheyeldin
2bits.com, Inc.
Fast Reliable Drupal
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra
Simplicity is the ultimate sophistication. --   Leonardo da Vinci
For every complex problem, there is an answer that is clear, simple, and
wrong." -- H.L. Mencken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20130522/8c46012d/attachment.htm>


More information about the kwlug-disc mailing list