Telnet Tutorial
Results 1 to 8 of 8

Thread: Telnet Tutorial

  1. #1
    Banned
    Join Date
    Oct 2001
    Posts
    1,463

    Post Telnet Tutorial

    This tutorial was originally posted by Terr.... Just thought I would clear up any misconception
    What is Telnet, Anyway?
    The term "TELNET" refers to the remote login that's possible on the Internet because of the TELNET Protocol. Telnet allows you to remotely access a computer over the Internet. In other words, you can tell that computer to create, edit, execute and delete files just as if you were sitting at that computer.

    The use of this term as a verb, as in "Telnet to a host" means to establish a connection across the Internet from one host to another. Usually, you must have an account on the remote host to be able to login to it once you've made a connection. However, some hosts provide public services that do not require a personal account.

    Telnet Fundamentals (Terminal Emulation)
    A long time ago, computers were behemoths that occupied entire rooms. In order for more than one person to use the computer, "terminals" were connected to the computer. At first these terminals were teletypes - just fancy typewriters called TTYs. The computers could tell these TTYs to print characters, do line feeds and carriage returns, and read input from the person typing at them. Then CRT (video) terminals were introduced, and ways of handling characters displayed on a screen had to be developed. These early terminals included the DEC family of VTs (Video Terminals) like the VT-52 and the VT-100. They were pretty fancy. They allowed users to do "full screen editing" by moving a cursor around the screen and deleting characters at will. They also allowed the computers to print special characters like lines and dashes, display bold text, or clear the screen entirely.

    Nowadays we don't live in caves and hunt mammoth, but we still use this emulation for remote login sessions like Telnet. The emulation of old terminal types, like TTY or VT-100, are good ways of controlling a computer through another computer because they were character based and were designed to transmit and receive data quickly and efficiently.

    Connecting to Sites with Telnet
    How do I Telnet with a Mac?
    For Telnet on the Macintosh I recommend you visit the following site for a thorough tutorial and to obtain the program: NCSA Telnet for the Macintosh.
    How do I Telnet with a PC? Pc Tutorial

    For Telnet on a PC you can read our brief PC Telnet tutorial.
    UNIX Commands
    UNIX Sites

    Useful UNIX Commands
    Basic UNIX Commands
    Some of the more useful UNIX commands

    Basic UNIX Commands

    List Contents of Directories - and [options]
    ls lists files in current directory
    ls -l provides long listing of current directory
    ls -l /usr/jane provides long listing of directory /usr/jane
    ls -a list all entries (including ones starting with a decimal)
    ls -i print inode numbers
    ls -t sort by modification time
    ls -x multi-column list, sorted across each row

    What would you like to do?

    ACTION Command Examples
    append to file cat >> cat >> file
    change access chgrp chgrp GroupName FileOrDirectory
    combine 2 files cat cat File1 File2 > File3
    copy files cp cp MyFile CopyOfMyFile
    create a file cat cat > NewFile
    edit files ed ed File
    list files ls ls usr/mac
    move a file mv mv MyFile docs/html/mine
    remove a file rm rm UnWantedFile
    rename a file mv mv OldFilename NewFilename
    view files cat cat plan.dec
    view files page page plan.dec
    edit password passwd passwd
    change to dir cd cd /usr/tmp
    make dir mkdir mkdir /usr/paul/budget
    where am i pwd pwd
    go to homedir cd cd
    remove dir rmdir rmdir junk

    Redirection of Output or Input

    > redirects the output of a command to a file
    >> redirects the output of a command to the end of an existing file
    < takes the input of a command from a file, not the terminal
    chmod --- Change Access Modes

    chmod [mode] files
    modes can be numeric or symbolic
    The symbolic case consists of the form of [agou][+-=][rwx] where: a group, other and user access permissions(all)
    g group access permissions
    o other access permissions
    u user access permissions
    r read permission
    w write permission
    x execute permission
    Example: add write permission for user and group to a file: chmod ug+w files
    For numeric case consult above sites for more details.
    X-- owner's permission
    -X- group's permission
    --X other's permission
    where X is the octal sum of 04 (read), 02 (write), 01 (execute) for user, group and other.
    Numeric Example: chmod 640 FileOrFolderName
    changes permissions so user has read, write permission (4+2+0=6), group has read permission(4+0+0), and other has no permissions. This makes 640.
    Share on Google+

  2. #2
    Senior Member linuxcomando's Avatar
    Join Date
    Sep 2001
    Posts
    430
    Good lesson. But if your using a unix box ssh would prob be a little more secure.
    I toor\'d YOU!
    Share on Google+

  3. #3
    Senior Member linuxcomando's Avatar
    Join Date
    Sep 2001
    Posts
    430
    A good tutorial an ssh is located here:
    http://www.csua.berkeley.edu/ssh-howto.html
    I toor\'d YOU!
    Share on Google+

  4. #4
    Old-Fogey:Addicts founder Terr's Avatar
    Join Date
    Aug 2001
    Location
    Seattle, WA
    Posts
    2,007
    What the hey? I Just recently posted to another thread in which you copy-pasted that, and now you have a NEW thread where you STILL you pass it off as your own, Acid?
    [HvC]Terr: L33T Technical Proficiency
    Share on Google+

  5. #5
    Banned
    Join Date
    Oct 2001
    Posts
    1,463
    You did? I posted this same tutorial to this thread a while ago... Jeez.. Sorry about that Terr... Ill fix it
    Share on Google+

  6. #6
    Banned
    Join Date
    Oct 2001
    Posts
    1,463
    LOL Same thread... I got it Terr
    Share on Google+

  7. #7
    Old-Fogey:Addicts founder Terr's Avatar
    Join Date
    Aug 2001
    Location
    Seattle, WA
    Posts
    2,007
    ROFLMAO, no, I didn't post it! I posted in the other thread that it was from a site, and gave the url there!

    It's not MINE What I meant was I had recently posted to a thread in which you had written that. Not one in which *I* had written it.
    Share on Google+

  8. #8
    Senior Member
    Join Date
    Sep 2001
    Posts
    534
    he he ..not matter who posted it ..first...but the tutorial was goon indeed..
    thank u for the knowledge
    A laptop, internet connection and beer.
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •