Command line

From Granular Linux Documentation

Jump to: navigation, search

Introduction

Command-line, also referred to as terminal, is an interface for advanced Linux user for using and managing the system. The interface is simplistic, often black colored background with a white cursor, where the user issues the various commands to perform desired tasks.

Some commands

Some example commands are:

  • cd - used to change the current directory to a desired location

Usage:

cd /home/john
  • ls - list contents of the current directory

Usage:

ls
  • mkdir - make a new directory

Usage:

mkdir /home/john/data

Terminal Emulators

Most of the well-known window managers come with their own terminal emulator. A terminal emulator is an interface to the command-line whose appearance is compatible to the window manager / desktop environment that contains it.

Some of the popular terminal emulators are:

  • Konsole - KDE
  • Terminal - GNOME
  • Xterm - default for the X Window System
Personal tools