Linuxdoc Linux Questions
Click here to ask our community of linux experts!
Custom Search

1.4. Command line usage

All the commands that show up in this document should be typed inside a terminal. .

1.4.1. Open a terminal

1.4.1.1. Windows

Click on Start, Run and type :

  • cmd Enter (Windows 2000 / XP),

  • command Enter (Windows 95 / 98 / ME).

The terminal appears Le terminal apparait

Figure 1-2. Windows terminal

Note

Under Windows, you need to be in the directory where the program is installed to run it.

1.4.1.2. Linux / Unix

Open a terminal :

Figure 1-3. Linux X terminal

In the documentation, we adopt the following conventions for the Unix commands :

  • commands that should be typed as root have a # prompt :

    
# command_to_be_typed_as_root
    
    
  • commands that should be typed as a regular user have a % prompt :

    
% command_to_be_typed_as_regular_user
    
    

1.4.1.3. Mac OS X

Go to Applications, open the folder Utilities and double-click on Terminal :

Figure 1-4. Mac OS X terminal

Note

Under Mac OS X, you need to be in the directory where the program is installed to run it, and start the command with ./ .

1.4.1.4. BeOS

In the deskbar, go to Application and then Terminal :

Figure 1-5. BeOS terminal

Note

Under BeOS, you need to be in the directory where the program is installed to run it, and start the command with ./ .