Terminal Activity: Difference between revisions

From OLPC
Jump to navigation Jump to search
(more commands and see also)
Line 1: Line 1:
{{G1G1 Support FAQ}}
{{G1G1 Support FAQ}}
{{Olpcboxtop|toptext=[[{{PAGENAME}}|Terminal]]}}
{{ OBX activity |[[Image:Activity-terminal.svg]]|core<!--|{{{text}}}--> }}
{{ OBX pootle|1=http://dev.laptop.org/git?p=web-activity;a=blob_plain;f=po/Web.pot;hb=HEAD|2=xocore}}
<small>see more [[:Category:OBX templates|templates]] or [[OBX proposals|propose new]]</small>
{{Olpcboxbottom}}

The Terminal is a pre-installed Activity that allows you to control your XO directly from a command line. If you have used a PC, this is similar to the DOS prompt. The Terminal allows you to do far more with your XO than running Sugar activities. But it is also possible to delete your data, and the system data from the command line, so care is needed.

'''BEWARE: If you become user "root" by executing "su -l" you have full control to destroy all software!'''


=== Starting Terminal ===
=== Starting Terminal ===
Line 6: Line 15:


This is a pre-installed program found in the Activities taskbar at the bottom of your [http://laptop.org/laptop/start/homeview.shtml Home View]. You may need to scroll through the Activities taskbar by using the right arrow icon at the bottom of your screen ([[Image:Frame-scroll-right.gif|25px]]) to find the [[Image:Activity-terminal.svg|35px]] icon.
This is a pre-installed program found in the Activities taskbar at the bottom of your [http://laptop.org/laptop/start/homeview.shtml Home View]. You may need to scroll through the Activities taskbar by using the right arrow icon at the bottom of your screen ([[Image:Frame-scroll-right.gif|25px]]) to find the [[Image:Activity-terminal.svg|35px]] icon.


'''BEWARE: If you become user "root" by executing "su -l" you have full control to destroy all software!'''


Another way to bring up the Linux command prompt is by pressing the Ctrl+Alt+Neighborhood keys at the same time. The Neighborhood key is represented by a circle with 8 small dots [[Image:Mesh key f1 small.png]].
Another way to bring up the Linux command prompt is by pressing the Ctrl+Alt+Neighborhood keys at the same time. The Neighborhood key is represented by a circle with 8 small dots [[Image:Mesh key f1 small.png]].
Line 18: Line 24:
* [[sugar-control-panel]] - Change [[nickname]], colors, [[time zone]] and other options
* [[sugar-control-panel]] - Change [[nickname]], colors, [[time zone]] and other options
* [[ifconfig]] - View Wireless Network connections
* [[ifconfig]] - View Wireless Network connections
* [[nano]] for editing text files directly. If you want to edit text files in Sugar, use [[Write]].
* [[yum]] for automatically installing new software.


The core Linux used on the XO is [http://www.Fedora.org Fedora 7]. More Fedora commands can be found in the official [http://docs.fedoraproject.org/ documentation].
The core Linux used on the XO is [http://www.Fedora.org Fedora 7].


=== Limitations / Known Problems ===
=== Limitations / Known Problems ===
It is not possible to copy and paste from the Terminal. So, if you are following some instructions from a web page in the Browse activity, and want to copy them into the Terminal activity, a pen and paper is required unfortunately. This has been logged on the dev.laptop.org bug tracking system.
It is not possible to copy and paste from the Terminal. So, if you are following some instructions from a web page in the Browse activity, and want to copy them into the Terminal activity, a pen and paper is required unfortunately. This has been logged on the dev.laptop.org bug tracking system.

=== See Also ===
* [[http://www.ss64.com/bash/]] A longer list of commands that can be used in the Terminal.

Revision as of 12:26, 5 January 2008

This page is part of the XO Support FAQ.     Support Index | Print This Page
<imagemap>

Image:Support-banner-square.png|173px|community support pages rect 0 0 135 204 [1] rect 135 0 345 204 Support FAQ rect 0 205 135 408 [2]

  1. Comment : there's some whitespace here:

rect 135 205 345 408 Other support

  1. maybe desc none is better. testing.

desc none

</imagemap>
Activity-terminal.svg This activity was core

see more templates or propose new

The Terminal is a pre-installed Activity that allows you to control your XO directly from a command line. If you have used a PC, this is similar to the DOS prompt. The Terminal allows you to do far more with your XO than running Sugar activities. But it is also possible to delete your data, and the system data from the command line, so care is needed.

BEWARE: If you become user "root" by executing "su -l" you have full control to destroy all software!

Starting Terminal

Activity-terminal.svg The Terminal activity grants access to the XO's Linux command line.

This is a pre-installed program found in the Activities taskbar at the bottom of your Home View. You may need to scroll through the Activities taskbar by using the right arrow icon at the bottom of your screen (Frame-scroll-right.gif) to find the Activity-terminal.svg icon.

Another way to bring up the Linux command prompt is by pressing the Ctrl+Alt+Neighborhood keys at the same time. The Neighborhood key is represented by a circle with 8 small dots Mesh key f1 small.png.

Note: You can find Keyboard Shortcuts and the keyboard illustrated here.

Common Terminal Commands

The core Linux used on the XO is Fedora 7.

Limitations / Known Problems

It is not possible to copy and paste from the Terminal. So, if you are following some instructions from a web page in the Browse activity, and want to copy them into the Terminal activity, a pen and paper is required unfortunately. This has been logged on the dev.laptop.org bug tracking system.

See Also

  • [[3]] A longer list of commands that can be used in the Terminal.