Terminal is a full-screen text mode program that provides a Command-Line Interface (CLI) to the software on a Linux system, such as the Fedora Linux that Sugar on the XO is based on. Users type (sometimes cryptic) commands to perform file management, system administration, or in fact almost anything that can be done within Linux that does not involve graphics or video.
For example, typing pwd (Print name of current/Working Directory) at the command line in the home directory gives that location as /home/olpc, and typing ls at the command line lists the content of the current directory.
Terminal is provided with Sugar on every XO. However, by default it is not selected for display in the Home view as a Favorite.
If for some reason Terminal is not installed, it can be downloaded from its Activity page
Examples: pwd and ls, as shown above
ls | grep "Sugar"
Get a listing of the current directory, but show only lines where the file or directory name includes the text “Sugar”. The | symbol, read pipe, represents the data link between the programs.
grep -h
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
The man and info utilities are unfortunately not available on XOs, but will undoubtedly be included in Sugar whenever the XO of that time is capacious enough for all of the manual and information pages in all of the supported languages.
Terminal is essential to learning advanced Linux functions, such as system administration, compiling software, and many other such topics.
Users have the option of installing text-mode software that works in a terminal window. Examples include text editors such as pico, or file managers such as Midnight Commander. MC simplifies many command line activities for the user, providing equivalents to many command in menus and text windows. To install mc, enter
yum install mc
This invokes the Yellow Dog Update Manager to install the Red Hat/Fedora package for mc, including the program, documentation, and other files. Then the user can type mc at the command line and get a two-panel display of files in the same or different directories, together with function buttons and menus for creating and deleting directories, moving or copying files, viewing or editing files, changing file permissions, and much more.
See the FLOSS Manuals manuals