Miscellaneous

  Home arrow Miscellaneous arrow Page 3 - The Terminal in UNIX
MISCELLANEOUS

The Terminal in UNIX
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2009-03-11

    Table of Contents:
  • The Terminal in UNIX
  • Speed it up
  • A work session
  • Basic concepts for working with the shell

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    The Terminal in UNIX - A work session


    (Page 3 of 4 )

    On almost all of today's PCs, UNIX-based operating systems come with a graphical interface. On Linux, this is either GNOME or KDE (K Desktop Environment). On some of them, however (mainly the served-based ones), a graphical interface is not installed, and you will have to use only the console.

    Regardless of this, the basic steps you need to complete are the same. What differs is the environment. First, you need to authenticate yourself. Enter your user name and password. The environment variable settings (like what key should do what, how the screen should look, and so forth) are automatically set by the shell once we start a terminal.

    During the session, we hold a conversation with the kernel. We can enter command lines one after another, and the shell will echo back via the terminal.

    Not all commands print something on the console. Some may just do a job and close with that. In fact, within UNIX it is a general philosophy that only in case of error should something be printed. If something goes right, nothing should be printed on the terminal.

    We can exit from the terminal with the exit command, or also by ending the input file the shell is interpreting. By default, this is the standard input. So when we send an eof signal (^D), the terminal will also close.

    Of course, it is recommended to clean up after ourselves. If we modified the current working directory, we should set it back to the old one. We will learn how to do these tasks later. You can get the current working directory with the pwd (print working directory) command.

    More Miscellaneous Articles
    More By Gabor Bernat

    blog comments powered by Disqus

    MISCELLANEOUS ARTICLES

    - Oracle Database XE: Indexes and Sequences
    - Modifying Tables in Oracle Database XE
    - Oracle Database XE: Tables and Constraints
    - More on Oracle Databases and Datatypes
    - Oracle Database XE Datatypes: Datetime and L...
    - Oracle Database XE Datatypes: Character and ...
    - From Databases to Datatypes
    - Firefox 3.6.6 Released with Improved Plug-in...
    - Attention Bloggers: WordPress 3.0 Now Releas...
    - Reflection in PHP 5
    - Inheritance and Other Advanced OOP Features
    - Advanced OOP Features
    - Linux from Scratch V.6.6 Review
    - Linux Gaining in Strength
    - Install Slackware on Your Old PC


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap