Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Options<br />
Operands<br />
Exit Status<br />
Related Information<br />
Examples<br />
cp - Copy files<br />
Synopsis<br />
Description<br />
50 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />
v The current user profile is the owner of the file or directory.<br />
v The current user profile is a member of the current group for the file or directory.<br />
-R Recursively change file user identifiers. For <strong>Directory</strong> operand, chown will<br />
change the user of the directory and all files in the hierarchy below it.<br />
The Owner operand specifies the user identifier to which to set the File and<br />
<strong>Directory</strong> operands. The Group operand specifies the group identifier to which to set<br />
the File and <strong>Directory</strong> operands. The File and <strong>Directory</strong> operands specify a path<br />
name to either a file or directory object.<br />
v 0 when successful and all requested changes were made.<br />
v >0 when an error occurred.<br />
v chgrp - Change file group permission<br />
v chmod - Change file modes (permissions)<br />
1. Change the owner identifier to “sam” for the file, “personal.file”.<br />
chown sam personal.file<br />
2. Change the owner identifier to “larry” for the sub-directory “moe.dir” to include<br />
all files and sub-directories below this directory.<br />
chown -R larry moe.dir<br />
[ Legal | AS/400 Glossary ]<br />
cp [-r | -R [-H | -L | -P] ] [-fip] source_file target_file<br />
cp [-r | -R [-H | -L | -P] ] [-fip] source_file ... target_directory<br />
In the first synopsis form, the cp utility copies the contents of the source_file to the<br />
target_file. In the second synopsis form, the contents of each named source_file is<br />
copied to the destination target_directory. The names of the files themselves are<br />
not changed. If cp detects an attempt to copy a file to itself, the copy will fail.