Commonly asked questions


The majority of this page was taken from the ISAC Unix room information setcion, I have changed it slightly. John-Lucas Brown would like to thank whoever wrote it and I hope that there is no problem having it on my page, thanks.

1. Where can I find [blah blah] for Linux?

These are the main sites which archive all of the stuff for Linux:

There are others, but these should have most everything. If you can't find it, ask Archie. (See question 3).

2. How do I anonymous FTP?

ftp foo.bar.edu
login: anonymous (some places have this as "ftp" instead)
password: [your email address]

3. Where is Archie?

telnet archie.sura.net
login: qarchie
(example, I'm looking for gzip)
"set search substring"
"prog gzip"

4. How do I create/extract .??? files?

* .tar files

tar cvf [file].tar [directory] tars up a directory.
tar xvf [file].tar will extract from the tar file.

For more information, man tar.

* .gz files (also .z files)

gzip [file] will compress [file] and put it in [file].gz
gzip -9 [file] will compress as much as possible
gzip -d [file].gz will uncompress to [file]

For more info, man gzip.

* .Z files

compress [file] will compress [file] and put it in [file].Z
uncompress [file].Z will uncompress to [file]

For more info, man compress/uncompress.

* .tar.gz

gzip -d -c [file].tar.gz | tar xvf - will uncompress and untar to [file]
tar cvf [file].tar [stuff-to-tar] && gzip [file].tar will tar and compress to [file].tar.gz

* .tar.Z

uncompress -c [file].tar.Z | tar xvf - will uncompress and untar to [file]
tar cvf [file].tar [stuff-to-tar] && compress [file].tar will tar and compress to [file].tar.Z

* .tgz (sometimes .taz)

This is just an abbreviation for .tar.gz files, so they will fit on an 8+3 DOS filesystem. You can rename [file].tgz to [file].tar.gz and use the instructions for.tar.gz files, or you can do:
zcat [file].tgz | tar xvf

* .shar

This is a shell archive. You can do:
/bin/sh [file] to extract these.

5. How do I uudecode/uuencode a file?

(These files sometimes have the extension .uu or .uue, but the best way to tell a uuencoded file is the existence of a BEGIN 6XX line and and END line.) uudecode [file] will uudecode to whatever file is in the BEGIN 6XX [filename] line. uuencode [file] [file] > file.uu encodes a file.

For example: if I wanted to uuencode foo.bar,I would: uuencode foo.bar foo.bar > foo.uu (The first name is what file to encode, the second is what it will be called upon extraction, since this is almost universally the same thing, just put the same thing :)

6. How do I compile source?

look for a README or INSTALL, etc...cd to directory with Makefile or makefile make

(you may have to edit some stuff, like config.h, etc.)

6a. I'm looking for source for [blah blah] ...

If it is a GNU utility/program, the site for GNU software is prep.ai.mit.edu.

Otherwise, ask Archie (see question 3).

7. How do I sz over a 7-bit connection?

sz -be [file]

8. How do I make my .plan work?

chmod 711 $HOME
chmod 644 $HOME/.plan

9. How can I stop messages being sent to my account?

People keep sending me messages on my Unix account. How do I stop them from doing this? -=or=- My friends are to send me messages but they can't. How can I enable them to do this?

10. I've got this file with weird characters/spaces in it, and I can't delete it. How can I get rid of it?

One of the easiest ways to do this is to rm -i * and answer no until you get to the file you want gone and answer yes for that one. For more info, man rm.

11. I need to search for a file.

I know it is somewhere under my home directory, but I'm not sure where. How do I find it? You can try this: find $HOME -name "[filename]" -print

If the file is indeed under your home directory, this should find it. Note that the argument to -name ("[filename]") can be a regular expression, too. For more info, man find. find can be very useful.


[Return to tutorial page] [Return to main page]
Page last updated by John-Lucas Brown 03-Apr-1997