29.06.2013 Views

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Options<br />

Exit Status<br />

Related Information<br />

Examples<br />

pr - Print files<br />

Synopsis<br />

Description<br />

64 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />

In its second form, mv moves each file named by a source operand to a destination<br />

file in the existing directory named by the directory operand. The destination path<br />

for each source operand is the path name produced by the concatenation of<br />

directory, a slash, and the final path name component from source.<br />

It is an error for either the source operand or the destination path to specify a<br />

directory except when both are directories.<br />

If the destination path does not have a mode which permits writing, mv prompts the<br />

user for confirmation as specified for the -i option.<br />

-f Do not prompt for confirmation before overwriting the destination path. The<br />

-i option is ignored if the -f option is specified.<br />

-i Causes mv to write a prompt to standard error before moving a file that<br />

would overwrite an existing file. If the response from the standard input<br />

begins with the character Y, the move is attempted.<br />

v 0 on success<br />

v >0 if an error occurs<br />

v cp - Copy files<br />

v ln - Link files<br />

v ls - List directory contents<br />

v rm - Remove directory entries<br />

1. Move the file “perl5” into the directory “/usr/bin” and prompt the user to overwrite<br />

if the file exists.<br />

mv -i perl5 /usr/bin<br />

[ Legal | AS/400 Glossary ]<br />

pr [+page] [-column] [-adFmrt] [-e [char][gap]] [-h header] [-i[char][gap]] [-l line]<br />

[-n[char][width]] [-o offset] [-s[char]] [-w width] [-] [file ...]<br />

The pr utility is a printing and pagination filter for text files. When multiple input files<br />

are specified, each is read, formatted, and written to standard output. By default,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!