You are not logged in.

#1 2006-06-16 19:44:35

jmags
Member
Registered: 2006-03-07
Posts: 48

What are you kids calling telnet sessions these days?

When I type

telnet (foo)

Arch tell me

-bash: telnet: command not found

is there some fancy new technology that has replaced ye olde telnet session or what?

Offline

#2 2006-06-16 19:48:23

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: What are you kids calling telnet sessions these days?

You might want to install telnet. wink

$ pacman -Qo `which telnet`
/usr/bin/telnet is owned by netkit-telnet 0.17-6

Searching for these things in pacman is easy:

$ pacman -Ss telnet
current/netkit-telnet 0.17-6
    A telnet client (and server)
extra/putty 0.58-1
    A terminal integrated SSH/Telnet client known from Windows.

Offline

#3 2006-06-16 19:48:42

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: What are you kids calling telnet sessions these days?

Depends what you want to use telnet for.

There is a telnet server/client package available: netkit-telnet

But, if you're wanting to remotely login to your machine you should be using ssh: OpenSSH

edit: seems I was beaten to it  roll

Offline

#4 2006-06-16 20:09:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: What are you kids calling telnet sessions these days?

jmags wrote:

What are you kids calling telnet sessions these days?

Obsolete? tongue

Fancy (not-so-)new technology = SSH

Offline

#5 2006-06-16 20:43:38

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: What are you kids calling telnet sessions these days?

Cerebral wrote:
$ pacman -Qo `which telnet`
/usr/bin/telnet is owned by netkit-telnet 0.17-6

Clever use of <code>which telnet</code> there...I need to be more command-line clever.  sad

Offline

#6 2006-06-16 20:46:35

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: What are you kids calling telnet sessions these days?

yeah, but backticks are so old-school... they're sh and not terribly nestable. Bash syntax is cooler:

dusty:~ $ pacman -Qo $(which telnet)
/usr/bin/telnet is owned by netkit-telnet 0.17-6

Dusty

Offline

#7 2006-06-16 22:32:34

ilmorris
Member
Registered: 2005-07-28
Posts: 55

Re: What are you kids calling telnet sessions these days?

jmags wrote:

When I type

telnet (foo)

Arch tell me

-bash: telnet: command not found

is there some fancy new technology that has replaced ye olde telnet session or what?

I prefer connecting via SSH, if the server side is setup for it.

pacman -Sy openssh

ssh username@hostname

Offline

#8 2006-06-17 04:06:56

deficite
Member
From: Augusta, GA
Registered: 2005-06-02
Posts: 693

Re: What are you kids calling telnet sessions these days?

tomk wrote:
jmags wrote:

What are you kids calling telnet sessions these days?

Obsolete? tongue

Fancy (not-so-)new technology = SSH

Totally beat me to it 8)

Offline

#9 2006-06-17 06:29:40

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: What are you kids calling telnet sessions these days?

zsh is cooler. you can get a full path without using which, just =command.

pacman -Qo =telnet

tongue

Offline

#10 2006-06-17 11:54:01

palandir
Member
Registered: 2006-05-14
Posts: 73

Re: What are you kids calling telnet sessions these days?

Dusty wrote:

yeah, but backticks are so old-school... they're sh and not terribly nestable. Bash syntax is cooler:

dusty:~ $ pacman -Qo $(which telnet)
/usr/bin/telnet is owned by netkit-telnet 0.17-6

Dusty

Correct, but remember that you will probably have less problems on other Unix systems if you try to avoid bash/GNU-specific features when there is no real need for it (e.g. using $() without nesting them). Good habit IMHO. Especially for shell scripts if you publish them.

Offline

Board footer

Powered by FluxBB