Joke Collection Website - Joke collection - How to send and receive mail under linux! Detailed configuration process!

How to send and receive mail under linux! Detailed configuration process!

[font= ???? ][/font][color=Red][/color]

1 preface

This course aims to provide a shortcut for people who have never used Linux system, so that they can get started quickly, make good use of network functions such as sending and receiving emails, file transfer and remote login, and provide information sources for in-depth study of Linux.

The History and Application of Linux System

LINUX is an operating system written by Finnish LINUS. His original intention was to transplant UNIX, which can only run on large workstations, to personal PC. In the spirit of * * *, he released the 0.0 1 version of LINUX on the Internet. Soon, with the help of amateur "creation" of computer experts all over the world, Linux grew rapidly, so that it settled in many PCs in the network, and the version was also 2.0.

LINUX's operating style is very similar to UNIX's, and its network support is also complete. Users of LINUX system can easily solve problems, whether they send and receive emails or transfer files.

3 Understanding Shell

Ordinary users on the Internet can only access LINUX through remote login.

That is, TELNET program, using LINUX as (pseudo) terminal. So first introduce how to log in.

For example, Hua Shengji who logged into our school:

Open the TELNET program (taking TELNET in WIN95/NT as an example) and fill in "connection"-"remote system"

PEANUT.CDIT.EDU.CN

As the object of connection,

Screen display:

Welcome to Chengdu University of Technology.

Welcome to the campus network of Chengdu University of Technology.

Peanut login: [fill in your user name here]

Password: [Your password]

Peanut: ~ $ [This is the prompt after login]

Peanut: ~ $ exit[ quit first]

4 understand the file system

The file system of LINUX is basically the same as that of DOS. Both have the concepts of directories and files, and both have root directories. Slightly different, in DOS, the directory is represented by "/"instead of "\".

An example:

Peanut: ~ $ pwd[ enter]

Peanut: ~ $/home/home 2/rudey[ meaning that you are now in the rudey directory under the home2 directory at the root directory (a bit awkward). ]

You must think that since the file systems are similar, the operation is certainly not much different. Yes, the next section introduces the basic operation of LINUX in the form of comparison with DOS commands.

5 command list

meaning

Linux operating system

disc operating system (DOS)

Change the current directory

CD [path]

CD [path]

A copy of a file or directory.

Cp file name 1 file name 2

Copy file name 1 file name 2

File directory list

Limit Switch (limit switch)

catalogue

Create a new directory

mkdir

mendelevium (Md)

Displays the contents of the [Text] file in a separate screen.

More [file name …]

More & lt[ file name]

Change the user's password

password

not have

Display the current directory

Displays the current working directory

laser record

Delete files [with wildcards]

Rm filename

Del file name

Delete empty directory

Rmdir path name

Rd path name

cls

clear

cls

6 Common Network Programs

Mail and PINE software for sending and receiving e-mail.

MAIL and PINE are both programs that run under LINUX to send and receive e-mail. PINE is simpler than MAIL because of its menu operation. Here is a reminder: using "h" in MAIL can get operational help; Commands available in PINE are displayed in a line at the bottom of the screen, so you need to look at them carefully before you can use them.

To use it, just enter MAIL or PINE in the SHELL, that is, at the prompt. As follows:

Peanut: -$ TERM mail [enter]

or

Peanut: -$ pine [enter]

File transfer

File transfer is a way to obtain software for free in the network, and LINUX certainly has corresponding programs to use.

Peanut: -$ ftp [enter]

Ftp>o ftp.cdit.edu.cn[ Enter various instructions here, which means establishing a connection with the ftp.cdit.edu.cn site].

After the welcome message, the available commands are ls[ list directories or files on the remote machine], CD[ enter a directory], bin[ set to binary mode, used when transmitting binary files], get[ download files], quit[ end this program] and so on.

Reminder: After the connection is established, a user [User Name] will enter the requirements. In the general anonymous ftp site, you can use anonymous or FTP as the user name and your email address as the password.

remote login

Remote login can do many things. Look at the BBS of other schools. You can't do it without TELNET (of course, there are BBS in WWW mode now).

Peanut: -$ TERM logs in to bbs.cdit.edu.cn remotely [visit our school' s BBS bulletin board]

If you play with mud, you can do this:

Peanut: -$ TERM remotely logs on to mud.cdit.edu.cn 4000 [visit the MUD site of our school and use port 4000].

After logging in, save it for yourself.

7 data sources

LINUX information on BBS

1There are many good articles in the lower essence area of bbs.cdit.edu.cn.

Bbs.tsinghua.edu.cn has a board of directors specializing in LINUX.

LINUX information in newsgroups

comp.os.linux.help

document

1 LINUX: I want to create a new world software (1997/ 1 1).

2 LINUX User's Guide (Tsinghua University Press 1 August 19971Edition)

3 LINUX administrator reference

8 concluding remarks

I wanted to be a FAQ. I hope everyone will send me the questions encountered in the process of using LINUX, and answer them on the one hand; On the one hand, you can also write FAQ.