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.
Operands<br />
Exit status<br />
Examples<br />
ln - Link files<br />
Synopsis<br />
Description<br />
58 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />
If specified, name is one of these values:<br />
v CHOWN_RESTRICTED - Restrict the use of chown on the object represented<br />
by pathname to a job with appropriate privileges<br />
v CLK_TCK - The number of clock ticks in a second.<br />
v LINK_MAX - Maximum number of links the object represented by pathname can<br />
have.<br />
v NAME_MAX - Maximum number of bytes in a file name (the last component of<br />
the pathname).<br />
v NGROUPS_MAX - Maximum number of supplementary group IDs that can be<br />
associated with a job.<br />
v NO_TRUNC - Generate an error if a file name is longer than NAME_MAX.<br />
v OPEN_MAX - Maximum number of files a single job can have open at one time.<br />
v PATH_MAX - Maximum number of bytes in a complete path name<br />
v STREAM_MAX - Maximum number of streams that a job can have open at one<br />
time.<br />
v THREAD_SAFE - The object represented by pathname resides in a thread-safe<br />
file system.<br />
v 0 when successful.<br />
v >0 when successful.<br />
1. Determine if the directory /home is in a thread-safe file system: getconf<br />
THREAD_SAFE /home<br />
2. Display the maximum number of bytes in a file name: getconf NAME_MAX<br />
3. Display all of the configuration variables: getconf<br />
[ Legal | AS/400 Glossary ]<br />
ln [-fs] source_file [target_file]<br />
ln [-fs] source_file ... [target_dir]<br />
The ln utility creates a new directory entry (linked file) which has the same modes<br />
as the original file. It is useful for maintaining multiple copies of a file in many<br />
places at once without using up storage for the copies. Instead, a link “points to” the<br />
original copy. There are two types of links: hard links and symbolic links. How a link<br />
“points to” a file is one of the differences between a hard or symbolic link.