The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: Reconnect SSH
Author: magiik 
Date:   01-10-05 00:52

Ahhh! Awesome! This is exactly what I was looking for! Thank you guys for the quick responses! Oh and now this would be off topic, but can anyone explain to me how to pass commands properly to an alias. The shell I use is csh. Everything I've tried works, but not how I intend it. I edited the .cshrc file and put in a new alias. When I use \!\^ I get the first argument passed to the command, and when I use \!\* I get the entire line of arguments passed to the command. Can anyone tell me how to get say the 2nd and 3rd arguments to the command? Or how I can get the first argument using \!\^ then get the second and latter arguments only by anothe escape command thing? Whenever I use \!\* it gives me the entire argument line, including the first argument.

Thanks again guys!

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Reconnect SSH   new
magiik 30-09-05 07:59 
 Re: Reconnect SSH   new
kahn 30-09-05 12:37 
 Re: Reconnect SSH   new
d_jabsd 30-09-05 14:40 
 Re: Reconnect SSH   new
magiik 01-10-05 00:52 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum