<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="guide" id="gs-execute-commands" lang="zh_CN">

  <info>
    <link type="guide" xref="index#getting-started"/>
    <link type="seealso" xref="txt-copy-paste"/>
    <link type="seealso" xref="overview"/>
    <revision pkgversion="3.8" date="2013-02-25" status="candidate"/>
    <revision pkgversion="3.12" date="2014-03-24" status="candidate"/>

    <credit type="author copyright">
      <name>Sindhu S</name>
      <email its:translate="no">sindhus@live.in</email>
      <years>2013</years>
    </credit>
    <credit type="copyright editor">
      <name>Ekaterina Gerasimova</name>
      <email its:translate="no">kittykat3756@gmail.com</email>
      <years>2013–2014</years>
    </credit>
    <credit type="copyright editor">
      <name>Michael Hill</name>
      <email its:translate="no">mdhillca@gmail.com</email>
      <years>2013</years>
    </credit>

    <license xmlns="http://projectmallard.org/1.0/">

  <p>This work is licensed under a
  <link href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
  Attribution-Share Alike 3.0 Unported License</link> and a
  <link href="http://www.gnu.org/licenses/">GNU General Public License version
  3</link>. It may be redistributed and/or modified under either license.</p>

  <p>GPL 3 statement:</p>
  <p>This work is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 3 as
  published by the Free Software Foundation.</p>

  <p>This work is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU General Public License for more details.</p>

  <p>You should have received a copy of the GNU General Public License
  along with this program. If not, see http://www.gnu.org/licenses/.</p>
</license>

    <desc>Launch programs or run commands using <app>Terminal</app>.</desc>
  </info>

  <title>Execute a command</title>

  <p>Any input entered in the <app>Terminal</app> to be executed is referred to
  as a <em>command</em>. You can run both command line and graphical user
  interface (GUI) programs from the terminal.</p>

  <p>To execute commands:</p>

  <steps>
    <item>
      <p>Type the command in the <app>Terminal</app> prompt.</p>
    </item>
    <item>
      <p>Press <key>Enter</key> to execute it.</p>
    </item>
  </steps>

  <p>If you have a program that ends abruptly without any warning or error,
  you may want to run it in <app>Terminal</app>. This will allow the program to
  output any error or debugging messages to the <app>Terminal</app> window. This
  information can be helpful when filing a bug report.</p>

  <note style="tip">
    <p>Read about the
    <link href="https://www.gnu.org/software/bash/manual/">Bash shell</link>
    for more information on what you can do in a terminal.</p>
  </note>
  
</page>
