Difference between revisions of "Your first steps on Linux"

From Linuxintro
imported>WikiSysop
imported>WikiSysop
Line 14: Line 14:
 
  tweedleburg:~ #
 
  tweedleburg:~ #
 
ok? Super, let's go on.
 
ok? Super, let's go on.
 +
 +
= File commands =
 +
You can list the files in your directory using the command '''ls''', for example:
 +
tweedleburg:/etc/apache2 # ls
 +
charset.conv        httpd.conf  mod_autoindex-defaults.conf  mod_status.conf    ssl-global.conf  ssl.key      vhosts.d
 +
conf.d              listen.conf  mod_info.conf                mod_userdir.conf    ssl.crl          ssl.prm
 +
default-server.conf  magic        mod_log_config.conf          mod_usertrack.conf  ssl.crt          sysconfig.d
 +
errors.conf          mime.types  mod_mime-defaults.conf      server-tuning.conf  ssl.csr          uid.conf

Revision as of 05:28, 1 August 2008

Ok, so you have managed to install Linux on your computer. You have started it and logged in. You now wonder what comes next.

Open a console

A console is text-based window where you can enter commands for your Linux. To start a console, type ALT_F2 and enter konsole. You should see a screen like this:

Konsole.png

The background can be black, white, green, any color. So can be the font. "tweedleburg" is my hostname, it can be different for you. Anyway, most important is you can write into it. What you write are commands to be executed. For example the command firefox will start the firefox browser:

Konsole-firefox-command.png

From now on, we will no longer use graphical files to show you what to do, but a box like the following:

tweedleburg:~ # firefox
tweedleburg:~ #

ok? Super, let's go on.

File commands

You can list the files in your directory using the command ls, for example:

tweedleburg:/etc/apache2 # ls
charset.conv         httpd.conf   mod_autoindex-defaults.conf  mod_status.conf     ssl-global.conf  ssl.key      vhosts.d 
conf.d               listen.conf  mod_info.conf                mod_userdir.conf    ssl.crl          ssl.prm
default-server.conf  magic        mod_log_config.conf          mod_usertrack.conf  ssl.crt          sysconfig.d
errors.conf          mime.types   mod_mime-defaults.conf       server-tuning.conf  ssl.csr          uid.conf