Display COMPLETE DOCUMENT Scroll Up Scroll DOWN MORE! TOP

I don't know any Unix!

Fear not. Even with just a rudimentary knowledge of Unix, you can successfully use the GCG package on helix for your research. Some elementary commands are described below, but it's worth having a good introductory Unix book for reference. DCRT's Technical Information Office has several Unix books, such as 'Learning the Unix Operating System' and 'A Student's Guide to Unix', which are free to NIH personnel. You can order them from your helix account by typing 'pubware' at the helix prompt and following the instructions, or directly from the TIO's web page.

Basic Unix commands:

For detailed information on any command, type 'man command-name' at the helix prompt.
cat prints the contents of a file on your terminal, and can be used to create files.
helix% cat filename
will spit the contents of 'filename' on your screen.
cat > filename.txt
type in some junk here or maybe paste in a sequence
will put the words 'type in some junk here or maybe paste in a sequence' into a file called filename.txt.

more will display the contents of a file on your screen, one screen at a time.
helix% more temp.seq
LOCUS       MUSIVJR       393 bp    mRNA            ROD       25-MAY-1995
DEFINITION  Mus musculus germline immunoglobulin light chain variable region
            and joining region mRNA, 5' end.
ACCESSION   L35316
[....etc....]

cp copies files.
helix% cp test.seq globin.seq
will copy the contents of test.seq to globin.seq. If you already have a file called globin.seq in your directory, it will be overwritten.

mv renames files.
helix% mv test.seq globin.seq
will rename the file test.seq to globin.seq. If a file called globin.seq already exists in your directory, it will be overwritten.

rm removes files.
helix% rm globin.seq
will remove (delete) the file globin.seq.

mkdir creates directories.
helix% mkdir globinproject
will create a subdirectory called globinproject in your current working directory.

cd changes your working directory.
helix% cd globinproject
will move you from your current directory to the globinproject directory, if that is a subdirectory.
helix% cd ..
will move you one directory level up.

ls lists the files in your current directory.
helix% ls 
acc                 mouse_heavy.list2   mouse_light.list2
mouse_heavy.list    mouse_light.list    temp.seq

logout logs you out of your helix session.