Command line: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
You can simply chance drives by entering <drive-letter>: like that:
You can simply chance drives by entering <drive-letter>: like that:


  C:\Windows>d:
  C:\Windows> d:
  D:\_
  D:\>_


And return to drive C in the same way:
And return to drive C in the same way:


  D:\c:
  D:\> c:
  C:\Windows>_
  C:\Windows>_


Now how about changing the directory?
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
D:\Games\Flightgear>_
 
Easy, isn't it? You can also change directly into several subdirectories:
 
C:\Windows> d:
D:\> cd Games\Flightgear
D:\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 ..
D:\>_
 
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''
''italic''
'''bold'''
'''bold'''
==Linux==
On Linux systems, there are several ways to get a command line.


==Caption==
==Caption==

Revision as of 21:11, 14 February 2009

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 x.y.zz.abc]
Copyright and stuff

C:\Windows>_

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:
D:\>_

And return to drive C in the same way:

D:\> c:
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 "Games". You do the following:

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

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

C:\Windows> d:
D:\> cd Games\Flightgear
D:\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 ..
D:\>_

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

Linux

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


Caption

Sublevel Caption

External links

Development

Windows XP

Windows Vista?

Linux > Gnome, KDE, Xfce