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.

Related Information<br />

Examples<br />

v cp - Copy files<br />

v ln - Link files<br />

v ls - List directory contents<br />

v mv - Move files<br />

v rmdir - Remove directories<br />

1. Remove all the files and the directory “java”, as well as any subdirectories<br />

and/or files and do not prompt for conformation.<br />

rm -r -f /home/bob/examples/code/java<br />

2. Remove the files “file1”, “file2” and “file3”.<br />

rm file1 file2 file3<br />

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

rmdir - Remove directories<br />

Synopsis<br />

Description<br />

Exit Status<br />

Related Information<br />

rmdir directory ...<br />

The rmdir utility removes the directory entry specified by each directory argument,<br />

provided it is empty.<br />

Arguments are processed in the order given. In order to remove both a parent<br />

directory and a subdirectory of that parent, the subdirectory must be specified first<br />

so the parent directory is empty when rmdir tries to remove it.<br />

v 0 if each directory entry specified referred to an empty directory and was<br />

removed successfully.<br />

v >0 An error occurred.<br />

v mkdir - Make directories<br />

v rm - Remove directory entries<br />

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

tail - Display the last part of a file<br />

Synopsis<br />

tail [-f | -r] [-b number |-cnumber |-nnumber] [file ...]<br />

Chapter 4. Utilities 69

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

Saved successfully!

Ooh no, something went wrong!