[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh in new screen window

From: Ken Nakamura
Subject: Re: ssh in new screen window
Date: Tue, 24 Feb 2009 12:08:37 -0800
User-agent: Microsoft-Entourage/

On 2/24/09 11:51 AM, "Chris Henderson" <address@hidden> wrote:

> Out of curiosity: would anyone know what these "address@hidden" ssh "$@"; 
> means?

$@ is sh for the entire arg array, and address@hidden is for "the first arg
string, removing up to and including the first '@' char".  see the bash man
page section on parameter expansion.  so 'ssh address@hidden' -> 'screen
-t "" ssh "address@hidden"'.  of course, if you use different
usernames, maybe you don't want to remove that.

and also, this is pretty cool. i'm probably going to use it or some variant,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]