Appendix C Qshell and CL Commands for the IFS

The tables in this appendix list CL and Qshell commands that reference the Integrated File System.

Qshell Commands for IFS Objects

The following table lists useful Qshell commands for working with files in the IFS.

Directory Commands

cd

Change the working directory.

ls

List the directory contents.

mkdir

Make a directory.

pwd

Get the name of the present working directory.

pwdx

Print the name of the present working directory, expanded.

rm

Remove directory entries.

rmdir

Remove a directory.

Object Commands

attr

Get or set a file's attributes.

basename

Get the non-directory portion of a path name.

cat

Print files to standard output ( stdout ).

compress

Reduce the size of one or more files.

dirname

Get the directory portion of a path name.

cp

Copy files.

file

Determine the file type.

find

Find files.

getconf

Get POSIX configuration values.

head

Copy the first part of files.

ln

Link files.

mkfifo

Make a FIFO special file.

mv

Move files.

od

Dump file contents.

pax

Create a portable archive exchange.

pr

Print files.

setccsid

Set the CCSID attribute.

tail

Copy the last records of a file.

tar

Create a file archive.

touch

Change file access and modification times, or create a file.

umask

Get or set the file-mode creation mask.

uncompress

Expand a compressed file.

zcat

Expand and concatenate data.

Authority Commands

chgrp

Transfer file ownership to another group .

chmod

Change file modes.

chown

Transfer ownership of a file.


CL Commands for the IFS

The following table lists useful CL commands for working with files in the IFS.

Directory Commands

GO FSDIR

Display the Directory Commands menu.

CRTDIR, MKDIR, MD

Create a directory.

RMVDIR, RMDIR, RD

Remove a directory.

CHGCURDIR, CHDIR, CD

Change the current working directory.

DSPCURDIR

Display or print the name of the current working directory.

Object Commands

GO FSOBJ

Display the Object Commands menu.

WRKLNK

Work with object links.

DSPLNK

Display object links.

EDTF

Edit a stream file or database file member.

CPY

Copy an object or a group of objects.

RNM, REN

Rename an object.

MOV

Move an object to a different directory.

ADDLNK

Add a link to (the name of) an object.

RMVLNK, DEL, ERASE

Remove a link to (the name of) an object.

SAV

Save an object to backup media.

RST

Restore an object from backup media.

CHGATR

Change an attribute of an object or group of objects.

CHKOUT

Check out an object. This prevents other users from modifying the object.

CHKIN

Check in an object.

CPYTOSTMF

Copy a database file member or save file to a stream file in the IFS.

CPYFRMSTMF

Copy a stream file to a database file member or a save file.

CPYTOIMPF

Copy a database file member to a file to be used for exchanging data with other applications.

CPYFRMIMPF

Copy an import file to a database file.

Authority Commands

GO FSSEC

Display the menu of IFS security commands.

WRKAUT

Allow modification of users' authority to IFS objects.

DSPAUT

Display a user 's authority to IFS objects.

CHGAUT

Change a user's authority to an IFS object.

CHGOWN

Transfer ownership of an IFS object to another user.

CHGPGP

Change an object's primary group, or specify that there is no primary group for the object.

CHGAUD

Set up or change auditing on an object.




QShell for iSeries
Qshell for iSeries
ISBN: 1583470468
EAN: 2147483647
Year: 2003
Pages: 219

Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net