summaryrefslogtreecommitdiff
path: root/devdocs/bash/simple-commands.html
blob: 6c78800acd536c937c17c9ce87f63b082f624a00 (plain)
1
2
3
4
5
6
<h1 class="subsection">Simple Commands</h1>  <p>A simple command is the kind of command encountered most often. It’s just a sequence of words separated by <code>blank</code>s, terminated by one of the shell’s control operators (see <a href="definitions">Definitions</a>). The first word generally specifies a command to be executed, with the rest of the words being that command’s arguments. </p> <p>The return status (see <a href="exit-status">Exit Status</a>) of a simple command is its exit status as provided by the <small>POSIX</small> 1003.1 <code>waitpid</code> function, or 128+<var>n</var> if the command was terminated by signal <var>n</var>. </p><div class="_attribution">
  <p class="_attribution-p">
    Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>Licensed under the GNU Free Documentation License.<br>
    <a href="https://www.gnu.org/software/bash/manual/html_node/Simple-Commands.html" class="_attribution-link">https://www.gnu.org/software/bash/manual/html_node/Simple-Commands.html</a>
  </p>
</div>