Tip (Unix utility)

tip is a Unix utility for establishing a terminal connection to a remote system via a modem.[1] It is commonly associated with BSD Unix, as well as other UNIX operating systems such as Sun's Solaris. It was originally included with 4.2BSD. The name may refer to ARPANET's Terminal Interface Processor (TIP), a variant of the IMP, used to connect serial terminals directly with ARPANET.

tip is referred to in the Solaris documentation as the preferred terminal emulator to connect to a Sun workstation's serial port for maintenance purposes, for example, to configure the OpenPROM firmware.

## Contents

* 1 Basics
* 2 Examples
* 3 See also
* 4 References
* 5 External links

## Basics

tip is one of the commands referenced in the expect reference book by Don Libes.

The tip command line options are as follows:

tip [-v] [-speed-entry] (<hostname> | <phone-number> | <device>)

Use ~. to exit.
Use ~# to break (Stop-A on a Sun keyboard).
Use ~? to list all commands.

## Examples

This Expect script is a simple example that establishes a terminal session:

spawn tip modem
expect "connected"
send "ATD$argc\r"
set timeout 30
expect "CONNECT"

As tip does not have the built-in logging capabilities that Minicom has, we need to use some other means to record the session. One way is to use script:

$ script -a install.log
Script started, file is install.log
$ tip hardwire
[tip session takes place.]
$ exit
Script done, file is install.log

and so on. In the above example, run on a Sun SPARC 20 workstation running Solaris 9, we first created a log file called install.log in the current directory using script' and then tell tip to use serial port B.

## See also

* cu (Unix utility), a similar command

## References

1. ↑ "tip - connect to remote system". Oracle Solaris 11.1 Information Library. Oracle Corporation. 2013. https://docs.oracle.com/cd/E26502_01/html/E29030/tip-1.html.

* Libes, Don (1995). Exploring Expect: A Tcl-Based Tool for Automating Interactive Programs. O'Reilly & Associates, Inc. ISBN 1-56592-090-2. https://archive.org/details/exploringexpectt00libe.

## External links

* NetBSD source to tip

* v
* t
* e

Unix command-line interface programs and shell builtins

File system|

* cat
* chmod
* chown
* chgrp
* cksum
* cmp
* cp
* dd
* du
* df
* file
* fuser
* ln
* ls
* mkdir
* mv
* pax
* pwd
* rm
* rmdir
* split
* tee
* touch
* type
* umask

Processes|

* at
* bg
* crontab
* fg
* kill
* nice
* ps
* time

User environment|

* env
* exit
* logname
* mesg
* talk
* tput
* uname
* who
* write

Text processing|

* awk
* basename
* comm
* csplit
* cut
* diff
* dirname
* ed
* ex
* fold
* head
* iconv
* join
* m4
* more
* nl
* paste
* patch
* printf
* sed
* sort
* strings
* tail
* tr
* uniq
* vi
* wc
* xargs

Shell builtins|

* alias
* cd
* echo
* test
* unset
* wait

Searching|

* find
* grep

Documentation|

* man

Software development|

* ar
* ctags
* lex
* make
* nm
* strip
* yacc

Miscellaneous|

* bc
* cal
* expr
* lp
* od
* sleep
* true and false

* Categories
* Standard Unix programs
* Unix SUS2008 utilities
* List

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Tip (Unix utility). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Tip_(Unix_utility)&oldid=752003"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template