Sachverstand2 @ Geocities.com

Linux Users' Help Page

started on 01.09.1998 - updated on 20.09.1999

Index

Get going with the system

Files? What Files?

File Types

Directories? What directories?

Commands on Files and Directories

Programs? What programs?

How do I invoke a program? - Which programs are available? - Which program suits my needs?

Customizing the system for your needs

Glossary


Welcome to mousehouse!

These help pages will help you to come into the system.
This help system will come up every time until you comment it out in ~/.profile.
Send any suggestions for bugs, further chapters and user-related questions (maybe with answers) to sysop@mousehouse.

1 Get going with the system


Well then: Log in, move into your directory, hack in some data files, store them in your home, and have the system process them.

Yes, that's all.


2 Files? What Files?


A file is a thing full of bytes. It is identified by its filename and the directory it sits in.

A byte is an integer, somewhere between 0 and 255. System interprets bytes as

depending of with which program you want to work on it.

2.1 File types

There are different file types, most of them recognizable by their extension: and many more.

3 Directories? What directories?


3.1 Welcome to the Linux file-tree.

This one is abbreviated. Its root is /.
/
|
|--bin
|
|--home
|  |
|  |--larry
|  |
|  |--susan
|     |
|     |--txt  diary.txt   impressions.on.vi.txt    to.do.list
|     |
|     |--tex
|     |
|     |--pictures
|
|--usr
|  |
|  |--bin
|  |
|  |--local
|     |
|     |--bin
|
|--tmp
There are 2 users on the system: larry and susan. Susan already has created 3 directories within her home, and 3 txt-files within /usr/home/susan/txt..

3.2 Commands on files and directories

mousehouse:~$
You are in your home directory.
ls
shows all unhidden files in the current directory.
ls *
shows all unhidden files in the current directory.
ls a*
shows all files starting with a.
Examples: aaaaaaa.txt armstrong.tex a.a.a.a.a.pov
ls *a*.text
shows all files that have an A in their filename and end on .TEXT
Example: a.text bbbbabbbb.text aaaaaaaaa.text
ls -l
gives you a long list of all files.
             *xwrx-r--r is an executable, which may be
              |||         read, written and executed by the owner,
                 |||      read and executed by the owner's group,
                    |||   read only by the rest of the world.
vi newfile.txt
invokes vi and asks it
  • to create newfile txt if it doesn't exist in the current directory;
  • open newfile txt if it does exist in the current directory.
mv oldfilename newfilename
copies file oldfilename to newfilename, then deletes oldfilename.
rm deletefile
removes deletefile.
Please be careful! Any deleted file cannot be resuscitated! In NO way!
cd /home/susan/txt
Moves you in one of susan's directories.
If Susan does not want you to read her diary, most likely you have no permission to go into that directory. In the same way, you can protect your files from being read or changed or deleted by other users.
pwd
System tells you what directory you are in.
mkdir newdirectory
creates a new directory within the current directory.
cd upperdirectory
changes to upperdirectory.
cd ..
changes 1 directory down
cd ~
changes to your home directory.
cd /usr/local/lib
changes to /usr/local/lib, whereever you have been before.
mv /home/larry/newtext.txt /home/larry/txt/newtext.txt
moves ~/newfile.txt into ~/txt/newfile.txt.
cd ~
mv newtext.txt txt/newtext.txt
does the same as above.

4 Programs? What programs?


4.1 How do I invoke a program?

With UN*X, programs are usually fired up by
 programname [options] [inputfile] [> outputfile] 
This means: Usually, you will use a shell to fire up programs. Most common is bash. It is usually started automatically when you login.
There are other shells available, like ZSH, KSH, and more.

Please remember to switch OFF NUM LOCK. Else, BASH will behave unpredictable.


4.2 Which programs are available?

See List of recent applications.

4.3 Which program suits my needs?

See List of recent applications.

5 Customizing the system for your needs

On this system, all users use the same programs.

Users cannot change or delete programs, for programs sit in directories that users may not write to.
Of course users may write programs and shells scripts of their own, and change them, and execute them, and share them with other users.

Most users want to change the defaults of some programs a little, e.g. have a blue-on-green desktop on the X Window system.
So the initialisation files of all programs are stored in ~ (your home directory) and hidden from the unexperienced user by starting the filename with a "." (period). ls -a shows all these files.

The existing programs have been set up by root to ensure that the according programs can be used at once, without any pending configuration work by unexperienced users.

Glance at them. Before changing ~/.anyrc, you should create .anyrc.backup.

I want to learn more about .profile.

I want to learn more about .fvwmrc.


6 Glossary

Still under construction...
Back home
This page hosted by Get your own Free Home Page