Re: newbie question: alias for a login name
- From: Bruce Barnett <spamhater123+U070213071610@xxxxxxxxxxxx>
- Date: Tue, 13 Feb 2007 12:17:48 +0000 (UTC)
boris.smirnov@xxxxxxxxx writes:
yes it's a text prompt. But I didn't mean only by logging into the
system, I meant also for ex. when using in a shell, for ex. cd /home/
alias...
You can create an alias that logs you onto a system.
For instance, I use the machine name as the name of my script, i.e.
MyServer contains
---cut here---
#!/bin/sh
ssh -l gh93ldsk myserver.com
---cut here---
so I just type in "MyServer" and then I log in.
But that's on the CLIENT.
There are ways to automate the login - depending on the login process (ssh, telnet, rlogin, etc.)
Once you have logged in, you can create many many aliases and scripts
to make your life easier on the SERVER. Note that we are talking
about aliases and scripts on two different systems.
You said
cd /home/
I don't know what exactly you are doing. I also don't know what shell you are using.
By convention, the command
cd
with no arguments places you in your $HOME directory.
Is $HOME the same as /home/?
--
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.
.
- Follow-Ups:
- Re: newbie question: alias for a login name
- From: boris . smirnov
- Re: newbie question: alias for a login name
- References:
- newbie question: alias for a login name
- From: boris . smirnov
- Re: newbie question: alias for a login name
- From: Bruce Barnett
- Re: newbie question: alias for a login name
- From: boris . smirnov
- newbie question: alias for a login name
- Prev by Date: Re: MAILX
- Next by Date: Re: EOF explanation
- Previous by thread: Re: newbie question: alias for a login name
- Next by thread: Re: newbie question: alias for a login name
- Index(es):
Relevant Pages
|