16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Messages<br />

Portability<br />

2 An incorrect command-line option or argument<br />

If fc runs one or more commands, the exit status of fc is the exit status of the last<br />

run command.<br />

Possible error messages include:<br />

Cannot create temporary file<br />

fc must create a temporary file to do some operations, such as editing. It<br />

prints this message when it cannot create its temporary file—for example,<br />

because the disk is full.<br />

No command matches string<br />

You asked to edit a command beginning with a particular string, but there<br />

was no such command in the history file.<br />

P<strong>OS</strong>IX.2.<br />

Related Information<br />

alias, ed, print, read, sh, vi<br />

fg — Bring a job into the foreground<br />

Format<br />

Description<br />

Localization<br />

fg [%job-identifier]<br />

tcsh shell: fg [%job ...]<br />

fg restarts a suspended job or moves a job from the background to the foreground.<br />

To identify the job, you give a job-identifier (preceded by %) as given by the jobs<br />

command.<br />

If you do not specify job-identifier, fg uses the most recent job to be suspended<br />

(with the kill command) or placed in the background (with the bg command). fg is<br />

available only if you have enabled job control. See the –m option of set for more<br />

information.<br />

fg in the tcsh shell<br />

In the tcsh shell, fg brings the specified jobs (or, without arguments, the current job)<br />

into the foreground, continuing each if it is stopped. job may be ’’, %, +, –, a<br />

number, or a string. See also the run-fg-editor editor command described in “tcsh<br />

— Invoke a C shell” on page 626.<br />

fg uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

fc<br />

Chapter 2. Shell command descriptions 275

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

Saved successfully!

Ooh no, something went wrong!