intro(1) General Commands Manual intro(1)NAME
intro - Introduction to commands
DESCRIPTION
Section 1 describes the commands available for all Tru64 UNIX users.
Some reference pages in this section may contain suffixes to allow their files to exist with those of other reference pages having the same
base name and section number. When used, suffixes are made up of one to four letters. See the man(1) reference page for more information
on suffixes.
Commands related to system maintenance appear in Section 8.
ERRORS
On termination, each command returns two bytes of status, one supplied by the system giving the cause for termination and, in the case of
normal termination, one supplied by the program. For more information, see exit(2). The first byte is 0 for normal termination; the sec-
ond byte is customarily 0 for successful execution. A nonzero status indicates a problem, such as erroneous parameters, or bad or inacces-
sible data. The status value is called variously exit code, exit status, or return code, and is described explicitly on reference pages
only when special conventions apply.
SEE ALSO
Commands: man(1)
Functions: exit(2)intro(1)
Check Out this Related Man Page
INTRO(1) BSD General Commands Manual INTRO(1)NAME
intro -- introduction to general commands (tools and utilities)
DESCRIPTION
Section one of the manual contains most of the commands which comprise the BSD user environment. Some of the commands included in section
one are text editors, command shell interpreters, searching and sorting tools, file manipulation commands, system status commands, remote
file copy commands, mail commands, compilers and compiler tools, formatted output tools, and line printer commands.
All commands set a status value upon exit which may be tested to see if the command completed normally. The exit values and their meanings
are explained in the individual manuals. Traditionally, the value 0 signifies successful completion of the command.
SEE ALSO man(1), intro(2), intro(3), intro(4), intro(5), intro(6), intro(7), intro(8), intro(9)
The Regents of the University of California, UNIX User's Manual Supplementary Documents, University of California, Berkeley,
http://www.netbsd.org/docs/bsd/lite2/usd.html, June, 1993.
HISTORY
An intro(1) manual appeared in Version 6 AT&T UNIX.
BSD May 5, 2010 BSD
Hi,
I am working on Solaris 8 and the "intro" man page says, "Upon termination, each command returns two bytes of status, one supplied by the system and given the cause for termination, and (in the case of 'normal' termination) one supplied by the program. The former byte is 0 for normal... (2 Replies)
I'm working on a project to extract some information from archive file. I ran my program through MFCobol animator and I'm receiving
a status code of 39(file not compatible) when opening the file for input. I have tried just about everything, rebuild, convert, etc. but
I receive the same message.... (6 Replies)
I have the question:
How return the exit code from then assign :
VAR=$(command ) for ex. VAR=$(ls ....)
VAREXIT=$?
echo $VAREXIT
VAREXIT is equal to 0 if the directory exist or not exist. WHI??
if i execute the command direct from line-command , the value of $? is different if... (1 Reply)
First of all want to apologize for such a simple question. Very "new" to UNIX and have just taken a small intro class.
I need to pull back YYYYMMDD and store it in a field to be used later. I figured out date "+%Y%m%d" returns the date in that format, just not sure how to store it.
I am... (7 Replies)
Hi,
I have hundreds of files "*.out" located in one folder,
and I want to:
1. Identify the good files containing "Normal termination" (grep "Normal termination" *.out )
2. Compress the good files into a tar.gz file (tar cvfz good.tar.gz *.goog.out )
Is there a way I can automate this... (4 Replies)
Hi friends,
I hope everyone is fine and doing well. I am facing this irritating problem. As you know that manual pages are available for both unix commands and c functions. Now when I try to check the manual pages for functions like
read
write
exit
I get the manual pages for the... (3 Replies)
I am running the gaussian program on UNIX with bash and I want to form a script that will email me once the output life terminates either "normal termination" or "false" I just started learning this last week so could you let me know how to go about this.:b: (13 Replies)
Just added OSX 10.14 Mojave Commands (currently over 13K pages in the mojave repo) to our man page repository:
OSX 10.14 Mojave Commands
We need to update all the man pages to the most current versions, so please contribute man page sets to your favorite OS environment (tar.gz with os and... (3 Replies)