DOC PREVIEW
FSU COP 4342 - Network Tools

This preview shows page 1-2-23-24 out of 24 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Fall 2006 Networking toolsNetwork tools: rdesktopYou can, if necessary, access Windows machinesrunning terminal services (or remote desktop) viardesktop.COP 4342Fall 2006 Networking toolsNetwork tools: rdesktopCOP 4342Fall 2006 Networking toolsRunning rdesktoprdesktop [-f] HOSTNAMEThe -f option puts you in fullscreen mode (CTRL-ALT-ENTER to shift back).COP 4342Fall 2006 Networking toolsNetwork tools: ftpftp is an older interactive method of transferringfiles. It is still useful occasionally, though since it isinsecure it should only be run within a safely shelteredenvironment.Invocation:ftp [-p] HOSTNAMEThe option -p is not found on every version of ftp(modern versions of ftp default to this mode), butCOP 4342Fall 2006 Networking toolswhen it is, it allows you to specify passive mode fordata transfers, which can help you use ftp goingthrough firewalls.COP 4342Fall 2006 Networking toolsftp commandscd RDIR # chdir on the remote machine to RDIRlcd LDIR # chdir on the local machine to LDIRdir [RDIR] # get a directory of the remote directory RDIR (defaults to .)get RNAME [LNAME] # get a single file RNAME from the remote machine, using# LNAME as the local name if specifiedput LNAME [RNAME] # put a single file LNAME from the local machine to the remote# machine, using RNAME as the remote name if specifiedmget RNAMEPATTERN # get multiple files fitting RNAMEPATTERN (expansion is done# remotely)mput LNAMEPATTERN # put multiple files fitting LNAMEPATTERN (expansion is done#locally)hash # show a hash mark every time 1k is sent or receiveddel # delete a remote filemdel RNAMEPATTERN # delete remote files fitting pattern (expansion is done remotely)quit # exit ftp![CMD] # if no CMD is given, start a shell; otherwise, execute the CMD# locallyCOP 4342Fall 2006 Networking toolsSending file treesThe easiest way to send a file tree with ftp is to usetar first, and then ftp the tarfile. For example:[2006-Fall]$ tar cfz /tmp/somedir.tgz somedir[2006-Fall]$ ftp ftp.redhat.comConnected to ftp.redhat.com.220 Red Hat FTP server ready. All transfers are logged. (FTP) [no EPSV]Name (ftp.redhat.com:ftp): ftp331 Please specify the password.Password:langley@ftp230 Login successful.Remote system type is UNIX.Using binary mode to transfer files.ftp> lcd /tmpLocal directory now /tmpftp> put somedir.tgzCOP 4342Fall 2006 Networking toolstelnetLike ftp, telnet is an older, insecure program whichshould be avoided outside of secure environmentsunless you are using it in a situation for where securityis not relevant, such as testing a mail server.Invoking:telnet HOSTNAME [PORT]COP 4342Fall 2006 Networking toolsUsing telnetOne of the most useful ways to still use telnet isfor testing mail servers:COP 4342Fall 2006 Networking tools[2006-Fall]$ telnet mail.cs.fsu.edu 25Trying 128.186.120.4...Connected to mail.cs.fsu.edu (128.186.120.4).Escape character is ’ˆ]’.220 mail.cs.fsu.edu ESMTP Postfixhelo machine.cs.fsu.edu250 mail.cs.fsu.edumail from: <[email protected]>250 Okrcpt to: <[email protected]>250 Okdata354 End data with <CR><LF>.<CR><LF>Subject: This is a testThis message is a test message..250 Ok: queued as B01E3F2F50quit221 ByeConnection closed by foreign host.COP 4342Fall 2006 Networking toolsThe r familyThe “r” programs rlogin, rsh, and rcp should allbe avoided these days since the “s” programs ssh andscp are more than adequate replacements.COP 4342Fall 2006 Networking toolsWeb browsers, email clientsThere are a large number of web browsers and emailclients available on Unix machines.The traditional line-oriented email client is mail; twomore recent ones are pine and elm.COP 4342Fall 2006 Networking toolsmail[2006-Fall]$ mailMail version 8.1 6/6/93. Type ? for help."/var/spool/mail/langley": 2 messages 2 new>N 1 [email protected] Thu Oct 20 15:54 16/630 "test456"N 2 [email protected] Thu Oct 20 15:54 16/627 "test"& xCOP 4342Fall 2006 Networking toolsmailThe mail program is very lightweight, and you canquickly read mail messages using it.If you use “q” to quit, the state of your message boxwill be updated to indicate things such as whether ornot you have read a message. If you use “x”, themessage box is not updated.COP 4342Fall 2006 Networking toolselm and pine: deprecatedBoth elm and pine are designed as “screen”mailers rather than just a line mailer.While some people prefer them, they lack manyfeatures that other mailers have: mail is fast andlightweight, and graphic mailers generally are able tohandle imap and pop, which makes handling multiplemailboxes uniformly very simple.COP 4342Fall 2006 Networking toolslinks (a.k.a. lynx or elinks)The program links is a nice screen-based webbrowser. While it doesn’t handle such as things as flash verywell, it is a very responsive webbrowser.COP 4342Fall 2006 Networking toolslinks (a.k.a. lynx or elinks)Using the “g” commandCOP 4342Fall 2006 Networking toolslinks (a.k.a. lynx or elinks)A typical web page rendered in links.COP 4342Fall 2006 Networking toolslinks (a.k.a. lynx or elinks)A typical web page rendered in links.COP 4342Fall 2006 Networking toolsDefault keybindings in linksPageDown page down" " page downPageUp page upb page upDown downUp upCtrl-C copy clipboardCtrl-P scroll upCtrl-N scroll down[ scroll left] scroll rightHome homeCtrl-A homeCtrl-E endEnter enterLeft backd download/ search? search backCOP 4342Fall 2006 Networking toolsn find-nextCtrl-R reloadg goto urla add bookmarks bookmark managerq quitCOP 4342Fall 2006 Networking toolsGraphic webbrowsing and emailYou can now run a variety of graphic webbrowsersand email clients in many Unix/Linux environments.Browsers:epiphanyfirefoxgaleonkonquerormozillaCOP 4342Fall 2006 Networking toolsGraphic webbrowsing and emailEmail clients:evolutionmozilla mailthunderbirdxmail(Another popular option with email is to use a webbrowser reader, such as squirrelmail oropenwebmail.)COP 4342Fall 2006 Networking toolsGraphic webbrowsing and emailMost graphic email clients can gracefully handlemultiple mailboxes on multiple servers. One of theeasiest ways to do this is via imap, which allows youto leave the mail on the server rather than the popparadigm of pulling it to the local machine.COP


View Full Document

FSU COP 4342 - Network Tools

Download Network Tools
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Network Tools and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Network Tools 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?