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.

Description<br />

Options<br />

Exit Status<br />

Related Information<br />

Examples<br />

The head utility displays the first count lines of each of the specified files, or of<br />

standard input if no files are specified. If -n is not specified, then the first 10 lines of<br />

the file are displayed.<br />

If more than one file is specified, each file is preceded by a header consisting of the<br />

string “==> XXX 0 if an error occurs.<br />

v cat - Concatenate and print files<br />

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

1. To display the first 20 lines in the file “myfile”.<br />

head -n 20 myfile<br />

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

getconf - Get configuration values<br />

Synopsis<br />

Description<br />

Options<br />

getconf[ name [ pathname ]]<br />

You can use getconf to display POSIX configuration variables. If you specify name,<br />

<strong>qsh</strong> displays the value of the configuration variable on standard output. When the<br />

configuration variable depends on a path name you must specify pathname.<br />

When no arguments are specified, <strong>qsh</strong> displays a list of all the configuration<br />

variables and their values. For those configuration variables that depend on a path<br />

name, <strong>qsh</strong> uses /.<br />

None.<br />

Chapter 4. Utilities 57

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

Saved successfully!

Ooh no, something went wrong!