logo_michael-thomas.jpg (3143 bytes)

Telnet Survival Guide

This web page contains info about Telnet.  It is very slim because my knowledge and interest is very slim!

Telnet - Survival Guide (access to unix servers)

  • Windows Telnet Clients
  • Using DOS.
    • Go to a DOS prompt
      • Win NT 2000 - Start, Run, cmd.exe  (note: this will allow "doskey.exe" command retrieval to work also!
        (Note: c:\windows\system32\cmd.exe)
      • Win NT 2000 - Environment Variables for "path" - Start, Control Panel, System, Advanced tab, Environment variables.
      • Win NT 4.0 -
      • Win 95/98 - ? command.com ?
    • c:\> telnet [unix server name]
      (Note: usually located @ c:\windows\system32\telnet.exe)
    • Next enter your userid and password when prompted.
  • Unix Commands (Survival Guide)
    • ls - list files in a directory
    • cd - change directory
    • pwd - print working directory
    • cp [file from] [file to] - copy a file  (options -R = recursive)
    • del [filename]
    • mkdir [directory name]
    • rmdir [directory name]
    • mv [filename_from] [filename_to]
    • more [filename] - displays the contents of a file to the screen.
      q=quit, z=page down.
    • logout - logout of Telnet session.
    • whoami - displays your user login name.
    • su [logon ID]
    • chmod [permission #] - change permissions.
    • chgrp [new group]
    • chown [new owner] - may only be allowed by superuser or administrator.
    • Terminal setup commands
      • set -0 vi
      • export TERM=vt100
  • Unix Permissions
    • r-read (value=4)
    • w-write (value=2)
    • x-execute (value=1)
    • Permissions listed:  owner/group/public
    • Change permissions with command:  chmod
    • chmod 777 [filename/directory] - everyone all rights.
    • chmod 664 [filename/directory] - read/write for owner & group, read only public.
    • chmod 775 [filename/directory] - read/write/execute for owner & group, read only for public
  • Command History
    • k = down
    • j = up
    • l = right
    • h = left
    • cw = change word
    • x = delete
    • CTRL-C = quit
    • ESC