� BBC NEWS | Science & Environment | Ancient supernova mystery solved | Main | Find Open Source Alternatives to commercial software | Open Source Alternative - osalt.com �

December 8, 2008

Lazy Linux: 10 essential tricks for admins

David, the high-maintenance user from product engineering, calls: "I need you to help me understand why I can't compile supercode.c on these new machines you deployed."

"Fine," you say. "What machine are you on?"

David responds: " Posh." (Yes, this fictional company has named its five production servers in honor of the Spice Girls.) OK, you say. You exercise your godlike root powers and on another machine become David:

  1. su - david

Then you go over to posh:

  1. ssh posh

Once you are there, you run:

  1. screen -S foo

Then you holler at David:

"Hey David, run the following command on your terminal: # screen -x foo."

This will cause your and David's sessions to be joined together in the holy Linux shell. You can type or he can type, but you'll both see what the other is doing. This saves you from walking to the other floor and lets you both have equal control. The benefit is that David can watch your troubleshooting skills and see exactly how you solve problems.

Lazy Linux: 10 essential tricks for admins

Posted by thdyck on December 8, 2008

Trackback Pings

TrackBack URL for this entry:
http://blog.dyck.org/mt-tb.cgi/608

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?