On Mon, 23 Oct 2000, Graeme Nichols wrote:

> Please bear with me if the questions I am about to ask appear to be a
> bit silly. I am completely new to Linux.

Welcome to the clan Graeme as well as Slug.
 
> My question therefore is, how can I check out those 4 partitions. How

Well you should have fdisk on your system somewhere, maybe its not in your
path? On my system do

digit:# /sbin/fdisk /dev/hda

The number of cylinders for this disk is set to 2490.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 2490 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       608   4883728+  83  Linux
/dev/hda2           609       624    128520   82  Linux swap
/dev/hda3           625      2490  14988645   83  Linux

Command (m for help): q

digit:#

Note that the fdisk in Linux is different to the one in DOS, they just
have the same name.

> The other question I have at the moment is how to FTP files, in
> particular docs. From one of the HOWTOS I got the following info:
> 
> Linux Installation and Getting Started at
> http://sunsite.unc.edu/mdw/LDP/gs/gs.html.
> 
> I can go to that site and read the file in my Netscape browser. When I
> went to a terminal and invoked ncftp I was able to OPEN the site but a
> GET using the full URL told me there was no such file. I then CDed to
> the gs dir and did a GET on gs.html and received the same message, no
> such file.

Well you could do a save file in Netscape. The URL that you have is for
http so the directory stucture might not be the same, on ftp everything is
usually under the /pub directory.

To make it easier use a local mirror such as aarnet.

digit:/var/log# open ftp.aarnet.edu.au
digit:/var/log# ftp mirror.aarnet.edu.au
Connected to mirror.aarnet.edu.au.
220-
220- Welcome to Mirror.AARNet.EDU.AU in Australia
220-
220 AARNet FTP server ready.
Name (mirror.aarnet.edu.au:rodos): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-
230- Welcome to Mirror.AARNet.EDU.AU in sunny Brisbane, located at ITS,
230- University of Queensland, Australia.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd LDP
250 CWD command successful.
ftp>cd LDP/LDP/gs

This puts you in the directory with that file you were after. However you
probably want the while thing in one file to download. So you can do.

ftp> cd /pub/LDP/LDP
250 CWD command successful.
ftp> get gs.html.tar.gz /tmp/gs.html.tar.gz
local: /tmp/gs.html.tar.gz remote: gs.html.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for gs.html.tar.gz (855762 bytes).
226 Transfer complete.
855762 bytes received in 114.48 secs (7.3 kB/s)
ftp> quit
221-You have transferred 855762 bytes in 1 files.
221-Total traffic for this session was 938292 bytes in 6 transfers.
221-Thank you for using the FTP service on mirror.aarnet.edu.au.
221 Goodbye.

You can then decompress the file into a local directory and start viewing
the documentation.

digit:# cd /tmp
digit:/tmp# cd /tmp
digit:/tmp# tar xzf gs.html.tar.gz
digit:/tmp# cd install-guide-3.2.html/
digit:/tmp/install-guide-3.2.html# lynx index.html

That loads it in the lynx text browser (w3m is better). Or you can load it
into Netscape file:/tmp/install-guide-3.2.html/index.html

Rather than using command line ftp you might be more comfortable using it
via netscape. Just enter ftp://mirror.aarnet.edu.au/LDP into your browser.
 
> There are other docs I would like to get, eg. Linux USers Guide and
> Linus FAQs and CONFIG.HOWTO at the same site.

Take your browser over to http://mirror.aarnet.edu.au/LDP and you will
find them all there.

> I know this is all pretty simple stuff to experienced users but if
> someone can help me with this simple stuff I can start, hopefully,
> looking after myself.

Ask away here, we are a friendly bunch and were all there once ourselves. 

Rodos

P.S. Just don't post to the list in HTML or the peginun might bite <grin>



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to