186
edits
m (typo) |
mNo edit summary |
||
Line 1: | Line 1: | ||
'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users | '''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users aren't aware of the command line or how to make use of it. This article may help... | ||
Operating System independent advice: | |||
'''Try to use copy & paste as much as | '''Try to use copy & paste as much as possible in order to avoid spelling mistakes, whenever you try to execute command line commands!''' | ||
The | The system will do ''exactly'' what you tell it on the command line and when you get it wrong, the system will do it wrong. | ||
==Windows== | ==Windows== | ||
On Windows, you | On Windows, you can get to the command line by clicking the "Start" button and then choosing "Run...". As a handy shortcut to the "Run..." prompt: Hold down the "Windows" key (the one with the windows flag on it) and tap the "R" key. | ||
Type "cmd" (without quotation marks) into the field and hit Enter. | |||
You should see the so called ''prompt'' now, which says something like that: | You should see the so called ''prompt'' now, which says something like that: | ||
Line 19: | Line 20: | ||
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands. | That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands. | ||
You can simply change drives by entering <drive-letter>: | You can simply change drives by entering <drive-letter>: as shown below: | ||
C:\Windows> d: | C:\Windows> d: | ||
Line 29: | Line 30: | ||
C:\Windows>_ | C:\Windows>_ | ||
Now how about changing the directory? Assuming you downloaded Flightgear into the directory "Flightgear", that is located on drive D and its directory " | Now how about changing the directory? Assuming you downloaded Flightgear into the directory "Flightgear", that is located on drive D and its directory "Simulators". You do the following: | ||
C:\Windows> d: | C:\Windows> d: | ||
D:\> cd | D:\> cd Simulators | ||
D:\ | D:\Simulators> cd Flightgear | ||
D:\ | D:\Simulators\Flightgear>_ | ||
Easy, isn't it? You can also change directly into subdirectories: | Easy, isn't it? You can also change directly into subdirectories: | ||
Line 54: | Line 55: | ||
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''. | On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''. | ||
The | The most often used window managers are Gnome, KDE and Xfce. One way of getting to a console would be using the window managers menu: | ||
*'''KDE''' KDE-Menue > System > Konsole | *'''KDE''' KDE-Menue > System > Konsole | ||
*'''Gnome''' Applications > Accessories > Terminal | *'''Gnome''' Applications > Accessories > Terminal | ||
Line 65: | Line 66: | ||
username@computername:~$_ | username@computername:~$_ | ||
This (especially the dollar sign) is the so called "prompt", where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer. | This (especially the dollar sign) is the so called "prompt", where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer. If your prompt is "#" instead of "$", you are logged in as root (superuser) and probably shouldn't be. | ||
Note the "~" (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to "/home/username". | Note the "~" (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to "/home/username". |
edits