Command line

From FlightGear wiki
Revision as of 17:11, 14 February 2009 by Wolle (Talk | contribs)

Jump to: navigation, search

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 simply don't know, what the command line acutally is or how to make use of it. This article shall help...

Windows XP

On Windows XP, you have access to the command line by clicking the "Start" button and then chosing "Run...". Type "cmd" (without quotation marks) into the field and hit Enter.

You should see the so called prompt now, which says something like that:

Microsoft Windows [Version]
Copyright and stuff


That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.

You can simply chance drives by entering <drive-letter>: like that:

C:\Windows> d:

And return to drive C in the same way:

D:\> c:

Now how about changing the directory? Assuming you downloaded Flightgear into the directory "Flightgear", that is located on drive D and its directory "Games". You do the following:

C:\Windows> d:
D:\> cd Games
D:\Games> cd Flightgear

Easy, isn't it? You can also change directly into several subdirectories:

C:\Windows> d:
D:\> cd Games\Flightgear

And if you got into the wrong directory somewhere, just try "cd .." to go one directory downwards:

D:\Games\Flightgear> cd ..
D:\Games> cd ..

That's most you'll need to know about the command line. Any commands that appear in the forums or in a wiki can be executed directly on the command line. after you have changed into the correct directory first.

italic bold


On Linux systems, there are several ways to get a command line.


Sublevel Caption

External links


Windows XP

Windows Vista?

Linux > Gnome, KDE, Xfce