Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: window linux
Description: window linux operating system notes

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


Notes on Linux operating system
Written by Jan Mrázek for the MIBO(BCMB)8270L course
last updated: Jan 9, 2007

UNIX: operating system
Linux: free version of UNIX
Basic communication with a Linux computer is through a command line terminal (no graphics) or
“shell”
...

Most modern UNIX/Linux platforms offer a graphical user interface similar to Windows but its use
over the network can be problematic
...

One of the advantages of using Linux and Linux shell is that you can access the computer from
anywhere through the Internet
...
If you want to use your home computer for
access to our server download and install SSH 3
...
9 at http://www
...
uga
...
2
...
For the purpose of this course you have
been provided with accounts on our lab server willow
...
uga
...

ssh allows you to open a Linux shell window on your desktop
...
ssh itself does not allow
you to move files between your computer and the remote Linux computer
...


Linux file system
Files in Linux are organized in directories (analogous to folders in Windows)
...
Users have their files in their home directories in “/home/”
...

Special directory names: “
...
/” refers to the directory one level
above the current directory; “~/” refers to your home directory
...

That is, the file names “MyFile”, “Myfile”, “myfile”, and “MYFILE” relate to four different files
...
” (period) are hidden files
...
Under normal situations you don’t have to
worry about the hidden files
...
” at the start of a file name
...

Basic types of access are read, write and execute
...
g
...
Write access allows you to delete, modify or overwrite files
...

You have write access only to your home directory, that is, unless specifically given access you
will not be able to store files elsewhere on the file system
...
File permissions
can be changed with the “chmod” command but it is unlikely that you will need it in this course
...
” in file names
...
txt,
...
bat, etc
...

I recommend that you use directories to keep your files organized
...
Most useful are “*” (matches
any text) and “?” (matches any single character)
...
z” but not “a2
...
You can use it with directories, too, e
...
, the command “ls
~/*/*
...
txt” in directories one
level inside your home directory
...
For example, “ls /home/jan” will list the
content of my home directory (“/home/jan” is a parameter)
...
“cp file1 file2” will read “file1” and make a copy named “file2”
...

In addition to parameters, most Linux commands have options
...
For example,
“ls -l /home/jan” will list additional information about each file (without the -l it will only list the
file names)
...

There are several types of shells that have some minor differences
...


List of Basic UNIX/Linux shell commands
Following is just the very basic list of some useful commands
...
g
...
Check http://linux
...
mt/article/terminal for a
beginner’s tutorial including some more advanced tricks
...
E
...
, “ls >
List” will list all files in the directory but store it in a file named “List” instead of displaying it on
the screen
...


Files and directories
• pwd: shows current directory
...
cd with no parameters
switches to your home directory
• ls directoryname: lists contents of directories
...

You can limit the list with wildcards (e
...
, “ls /home/mydirectory/*
...

• cp source destination: makes a copy of a file named “source” to “destination”
...

• rm filenamelist: removes/deletes file(s)
...

• rm –r directory: removes directory (-ies) including its content
Viewing files
• cat file: prints the whole file on the screen
...
g
...

You can also use wildcards, e
...
, “cat *
...

• more file: shows a file page by page
...
These
are just few things you can do with more
...
Scroll up
and down as in more
...

• Many commands will show basic description when run with -h or --help option
...
This allows you to set access to your files
for other users or turn a text file into an executable
...

• cc program
...
~/bin/ is a standard place for storing executable
(binary) files
...
–O option will
optimize the program (make it run faster)
...
However,
they take a while to get used to and unless you already know them you may be better off using sftp
to open the file in Notepad on your (Windows) computer
...


Running programs
Once created, executable programs can be run as any regular command just by typing the program
name and any parameters and/or options
...

Executable program files can be created in different ways (included for your reference):
• When written in a language like C, C++, or Fortran, the “source code” (human-readable text
file prepared by a programmer in an appropriate syntax) can be converted into an
“executable” (machine-readable binary file) by a special program called compiler (see cc
command above)
...
Program packages are increasingly often distributed as rpm files where the
installation is completely automatic making it very easy for the user (generally only the
system administrator can install such packages)
...
That will effectively turn them into executable programs
...
This
makes such programs slower to run but eliminates need for compilation
...



Title: window linux
Description: window linux operating system notes