Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

phones(5) [netbsd man page]

PHONES(5)						      BSD File Formats Manual							 PHONES(5)

NAME
phones -- remote host phone number data base DESCRIPTION
The file /etc/phones contains the system-wide private phone numbers for the tip(1) program. This file is normally unreadable, and so may contain privileged information. The format of the file is a series of lines containing whitespace separate fields, of the form: system-name phone-number The system-name is one of those defined in the remote(5) file. The phone-number is constructed from any sequence of characters terminated only by a comma (``,'') or the end of the line. The equals (``='') and asterisk (``*'') characters are indicators to the auto call units to pause and wait for a second dial tone (when going through an exchange). The ``='' is required by the DF02-AC and the ``*'' is required by the BIZCOMP 1030. Only one phone number per line is permitted. However, if more than one line in the file contains the same system name tip(1) will attempt to dial each one in turn, until it establishes a connection. FILES
/etc/phones SEE ALSO
tip(1), remote(5) HISTORY
The phones file appeared in 4.2BSD. BSD
January 3, 2001 BSD

Check Out this Related Man Page

PHONES(5)						      BSD File Formats Manual							 PHONES(5)

NAME
phones -- remote host phone number data base DESCRIPTION
The file /etc/phones contains the system-wide private phone numbers for the tip(1) program. This file is normally unreadable, and so may contain privileged information. The format of the file is a series of lines of the form: <system-name>[ ]*<phone-number>. The system name is one of those defined in the remote(5) file and the phone number is constructed from any sequence of characters terminated only by ``,'' or the end of the line. The ``='' and ``*'' characters are indicators to the auto call units to pause and wait for a second dial tone (when going through an exchange). The ``='' is required by the DF02-AC and the ``*'' is required by the BIZCOMP 1030. Only one phone number per line is permitted. However, if more than one line in the file contains the same system name tip(1) will attempt to dial each one in turn, until it establishes a connection. FILES
/etc/phones SEE ALSO
tip(1), remote(5) HISTORY
The phones file appeared in 4.2BSD. BSD
June 5, 1993 BSD
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix coding tip required

Hi! Suppose I am at a location xyz:/abc1/abc2/abc3 Is it possible to move to another location xyz:/mnl1/mnl2/mnl3 by some coding within a script? (5 Replies)
Discussion started by: udiptya
5 Replies

2. Shell Programming and Scripting

Help make a program in cshell that searches and prints in a specific format

say I have a file named phones in that file every line is like that lastname^firstname^phone how can I make a program in cshell that searches for a specific string in phones and echos the result (if found) like that: lastname1 firstname1 phone1 ------------------ lastname2 firstname2... (8 Replies)
Discussion started by: h4wk
8 Replies

3. Shell Programming and Scripting

grep or sed. How to remove certain characters

Here is my problem. I have a list of phone numbers that I want to use only the last 4 digits as PINs for something I am working on. I have all the numbers in a file but now I want to be removed all items EXCEPT the last 4 digits. I have seen sed commands and some grep commands but I am... (10 Replies)
Discussion started by: Sucio
10 Replies

4. Shell Programming and Scripting

script to detect a file from inserted usb and puts into a Variable

There is a same named log file that I have on my 2 different android phones. When I plug it into my computer, it appears in the media folder, For example the first android phone: /media/F6BA-0AF5/folder/A.log I want to put that into a variable to be manipulated.... (3 Replies)
Discussion started by: tobenguyen
3 Replies

5. Shell Programming and Scripting

Editing phone number with multiple delimiters

Hello all I have a data base of information that is formatted like so: JSD4863 XXX-XX-XXXX DOE, JOHN C JR-II BISS CPSC BS INFO TECH 412/779-9445 I need the last four digits of the phone number. However, many lines contain 'garbage data' that I'm not interested in. So i used a 'for loop'... (7 Replies)
Discussion started by: smartSometimes
7 Replies

6. UNIX for Beginners Questions & Answers

Any tip to replacing the special characters in a file

Hi, Please find attached a file that has special characters on it. It is a copy and paste from a Micro$oft file. I don't want to use strings as it remove all the 'indentations' / 'formatting' so I am replacing them with space instead. I am using the sed command below sed "s/$(printf... (1 Reply)
Discussion started by: newbie_01
1 Replies