Example, Hash, Help – HP Integrity NonStop H-Series User Manual

Page 60: Hash help

Advertising
background image

Table 2 Wild-Card Characters for Local File Names (continued)

Meaning

Characters

Indicates your logon volume and subvolume when specified
at the beginning of the pattern; for example, ~.z* selects

~

all files that begin with the letter z on your logon default
volume and subvolume
($logon-volume.logon-subvol.z*).

Matches any one of the strings (s) enclosed; for example,
fil{old,new} matches the names filold and filnew. The left

{ s,...s }

to right order of resulting patterns is preserved so that file
names that match each resulting pattern are grouped in
the resulting list. You can nest lists of strings; for example,
a{b, c{de,fg}} is the same as a{b,cde,cfg} and matches the
names ab, acde, acfg.

Example

The following commands turn glob off, copy a file named cust?nm from a remote system, and
then turn glob on. The question mark is a normal character in the new local file named cust?nm.

ftp> glob
Globbing off.
ftp> mget cust?nm
ftp> glob
Globbing on.

hash

Use the hash command to turn on or off a mechanism for displaying a hash mark (#), sometimes
called a pound sign, after each data block is transferred. The size of a data block is 4096 bytes.
This command operates as a toggle.

hash

When you start an FTP session, hash is off.

Example

The following example shows the result of turning hash on:

ftp> hash
Hash mark printing on (4096 bytes/hash mark).
ftp> get custom1
#
ftp>

help

Use the help command to display either a list of all commands or helpful information about a
specific command.

help [ command-name ]

command-name

specifies an FTP command. If you omit command-name, a list of all FTP commands is displayed.

Example

The following command requests information about the cdup command.

ftp> help cdup
cdup change remote working directory to parent directory

60

FTP—Transferring Files

Advertising
This manual is related to the following products: