Difference between revisions of "Installation/Working with the Shell"

From OpenFOAMWiki
(Added chapter for the OpenFOAM variables, so I can use the link)
(Introduction: finished intro and added section about learning the shell)
Line 1: Line 1:
  
 
= Introduction =
 
= Introduction =
This page attempts to introduce the reader to what is a ''shell'' and how said shells work. It is mostly be oriented to using OpenFOAM, but should be a good introduction into the subject in general.
+
This page attempts to introduce the reader to getting to know what a ''shell'' is and how said ''shells'' work in ''terminals'' or ''consoles''.
  
TODO: write the rest...
+
On a second part, introduces the reader to getting to know how to use OpenFOAM in said shells.
 +
 
 +
The text may seem rather informal, so feel free to improve this wiki page!
 +
 
 +
== Learning how to use a ''shell'' ==
 +
Well, this section will seem to be rather ''lazy'' to you, but it's best to point the reader to one of the best tutorials there is on this subject, namely: [http://linuxcommand.org/learning_the_shell.php Learning the shell]
 +
 
 +
There you'll learn all of the necessary basics on how to use the shell to your benefit. Additionally, here are a few more essential hints:
 +
* Today's terminal/consoles used in modern Linux Distributions have interactive mouse and keyboard controls. You can find out which are they by checking the menus on them, as well as learning from there some of the keyboard shortcuts you can use.
 +
* Some examples of keyboard shortcuts:
 +
** {{tt|Ctrl+Shift+C}} - Copy selection from the terminal/console window.
 +
** {{tt|Ctrl+Shift+V}} - Paste what's on the [http://en.wikipedia.org/wiki/Clipboard_%28computing%29 clipboard memory], to the terminal's shell.
 +
** {{tt|Shift-Insert}} - Same as the previous command, namely it pastes what's on the clipboard.
  
 
= OpenFOAM Environment Variables =
 
= OpenFOAM Environment Variables =

Revision as of 12:32, 9 September 2012

1 Introduction

This page attempts to introduce the reader to getting to know what a shell is and how said shells work in terminals or consoles.

On a second part, introduces the reader to getting to know how to use OpenFOAM in said shells.

The text may seem rather informal, so feel free to improve this wiki page!

1.1 Learning how to use a shell

Well, this section will seem to be rather lazy to you, but it's best to point the reader to one of the best tutorials there is on this subject, namely: Learning the shell

There you'll learn all of the necessary basics on how to use the shell to your benefit. Additionally, here are a few more essential hints:

  • Today's terminal/consoles used in modern Linux Distributions have interactive mouse and keyboard controls. You can find out which are they by checking the menus on them, as well as learning from there some of the keyboard shortcuts you can use.
  • Some examples of keyboard shortcuts:
    • Ctrl+Shift+C - Copy selection from the terminal/console window.
    • Ctrl+Shift+V - Paste what's on the clipboard memory, to the terminal's shell.
    • Shift-Insert - Same as the previous command, namely it pastes what's on the clipboard.

2 OpenFOAM Environment Variables

TODO: ...

3 Advanced Topics

3.1 OpenFOAM Shell Environment

TODO: ... copy stuff from my blog post: http://www.cfd-online.com/Forums/blogs/wyldckat/931-advanced-tips-working-openfoam-shell-environment.html

3.2 Searching for files

TODO: ...