Skip to main content

Bash: Executing Commands

Executing commands in Bash is typically the same throughout all shells. You are presented with a prompt:

[user@localhost ~]$

You simply type in the name of the command you would like executed:

[user@localhost ~]$ date
Tue Feb 24 08:48:02 EST 2009

As you can see from the above example, I executed the date command and it printed the date to the shell.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <p><b><i><pre><a><img><em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><h1><h2><h3><h4><h5><h6>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

Premium Drupal Themes by Adaptivethemes