Flylib.com

Books Software

 
 
 

pine-a Program for Internet News and E-mail

 <  Day Day Up  >  

pine ”a Program for Internet News and E-mail

pine [ options ] [ address, address ]

pinef [ options ] [ address, address ]

pine is a screen-oriented message-handling tool. In its default configuration, pine offers an intentionally limited set of functions geared toward the novice user, but it also has a growing list of options and "power- user " and personal-preference features. pinef is a variant of pine that uses function keys rather than mnemonic single-letter commands. pine 's basic feature set includes: View, Save, Export, Delete, Print, Reply, and Forward messages.

 <  Day Day Up  >  
 <  Day Day Up  >  

pg ”displays files one page at a time

pg [ number ] [ p string ] [ cefnrs ] [ +linenumber ]

   [ +/pattern/ ] [ filename ... ]

The pg command is a filter that allows you to page through filenames one screenful at a time on a terminal. If no filename is specified or if it encounters the filename , pg reads from standard input. Each screenful is followed by a prompt. If the user types a return, another page is displayed. It allows you to back up and review something that has already passed. (See more .)

 <  Day Day Up  >  
 <  Day Day Up  >  

pr ”prints files

pr [[columns] [wwidth] [a]] [eck] [ick] [drtfp]

    [+page] [nck] [ooffset] [llength] [sseparator]

     [     hheader] [F] [filename ...]

pr [[m] [wwidth]] [eck] [ick] [drtfp] [+page] [nck]

    [ooffset] [llength] [sseparator] [hheader] [F]

    [filename1 filename2 ...]

The pr command formats and prints the contents of a file according to different format options. By default, the listing is sent to stdout and is separated into pages, each headed by the page number, the date and time that the file was last modified, and the name of the file. If no options are specified, the default file format is 66 lines with a five-line header and five-line trailer.

Example A.41.
pr -2dh "TITLE" file1 file2

EXPLANATION

Prints two columns double-sided with header "TITLE" for file1 and file2 .

 <  Day Day Up  >  
 <  Day Day Up  >  

ping reports if a remote system is reachable and alive

ping [-dfnqrvR] [-c count] [-i wait] [-l preload] [-p pattern]

   [-s packetsize]

ping sends ICMP ECHO_REQUEST packets to a host machine and waits for a response to tell you if the host or gateway is reachable and alive. It is used to track down network connectivity problems. If ping does not receive any reply packets at all it will exit with code 1. On error it exits with code 2. Otherwise it exits with code 0. This makes it possible to use the exit code to see if a host is alive or not.

This program is intended for use in network testing, measurement, and management. Because of the load it can impose on the network, it is unwise to use ping during normal operations or from automated scripts.

 <  Day Day Up  >