Linux Basics series lectures

Source: Internet
Author: User
Article title: Linux Basics series lectures. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Linux was a UNIX-compatible operating system developed in 1991 and can be used for free. its source code can be freely transmitted and can be modified, enriched, and developed by anyone, the original intention of developers is to jointly create a perfect, ideal and free-to-use operating system.
  
We cannot make the students use this series of lectures to become a master of UNIX operating systems. the purpose of this series of lectures is to popularize basic Linux knowledge among the students, it makes a good start for us to learn more about Linux in the future.
  
1. Linux basics
  
In this lecture, we will mainly look at the overview of Linux and have a preliminary perceptual knowledge of Linux.
  
1. what is Linux?
  
Linux is an Intel-series CPU (CYRIX, amd cpu can also be used) as a hardware platform. it is a completely free UNIX-compatible system and is fully applicable to individual PCs. It is itself a complete 32-bit multi-user multitasking operating system, so do not need to install DOS or other operating systems first (MS Windows, OS2, MINIX ..) you can install it directly.
  
Linux was first originated in October 5, 1991 by a Finnish college student Linux Torvalds (Torvalds@kruuna.helsinki.fi) wrote the Linux core program version 0.02, however, the subsequent development was almost completed by the Linux Community (Linux Community) on the Internet. Linux does not belong to any company or individual. anyone can obtain or modify its source code for free ). Most of the software on Linux is developed by GNU, so the software is usually freely spread when it is attached to the GNU Public License (GPL. GPL is a type of license that allows you to obtain free software for free, so Linux Users' usage activities are basically unrestricted (as long as you do not use it for commercial purposes ), instead of having to pay a high price for full licenses as Microsoft products use, it is subject to the number of system installations. At the end of the handout, I included an unofficial Chinese version of GPL.
  
Currently, Linux Distribution in China mainly includes Red Hat, Slackware, Caldera, Debian, Red Flag, and Blue Point ), xteam Linux (surfing), Happy Linux (Happy Linux), Xlinux, and so on. I recommend that you use Red Hat (fact Standard) and Xlinux (which is the easiest to install ).
  
II. What are the benefits of installing Linux?
  
Linux's core features incomparable stability and efficiency in Windows. without using X Windows, it occupies less system resources and can make an Intel486 become an efficient workstation. For users who want to learn about UNIX, familiarizing themselves with the UNIX operating environment is a great shortcut to the "hardcore" realm. Most importantly, Linux has a recognized C language, the world's best compiler gcc. if you want to get a more efficient development environment (not necessarily the most friendly, but it must be the most powerful). I suggest you be familiar with Linux.
  
3. how to get Linux?
  
As far as I know, most Linux distributions (Linux distribution) and core (Kernel) can be downloaded from the Internet, but I do not recommend using this method to obtain Linux, because only the core has dozens of Mbit data volumes, and a full release version is about 1 Gbit data volume, you can estimate the time to download them?
  
I suggest you go to the software store to buy a CD, because the Linux product CD is very cheap. you can pay about 50 RMB for the license GPL, for Windows NT 4.0 with the same function, you have to pay at least 17000 RMB (one thing you need to declare: you will not see the GPL license when you purchase the CD ). You can buy it directly in the store, which saves you a lot of trouble, because there are many Linux download from the internet, it still requires you to have a CD burning tool to engrave the installation file on the CD.
  
4. how can I get the latest Linux news?
  
The Linux site is everywhere now. here I recommend a website with the latest news about the Linux core. you can get the latest information about the development of the core (Kernel. URL:
  
Http://www.kernel.org
  
There is also a very famous discussion group, you can also go and have a look:
  
Http://www.linuxforum.net
  
There is also a discussion group that I often go to. this discussion group is specially maintained by experts and responds quickly to posts:
  
Http://www.coventive.com.cn/club/default.htm
  
When I was writing this handout, another very good free software group appeared, AKA. you can go to their webpage to see it, there is a lot of useful information:
  
Http://www.aka.org.cn
  
5. what applications does Linux have?
  
There are a variety of application software on Linux. I will give you a brief introduction here. what are they like? I will give you a one-by-one demonstration in the lecture.
  
Text processing (console interface, X Window interface is described later)
  
L vi
  
Editor, which is the most difficult for beginners of UNIX operating systems. However, as long as you are used to operations, you will feel that it is better than any editor and has powerful functions.
  
L pico
  
A text editor in a style similar to Microsoft dos edit.
  
Culture
  
XCIN + Crxvt
  
The default Linux system does not support Chinese display. although many famous Chinese-based Linux vendors have emerged in China, however, some famous Linux distribution such as Red Hat, Debian, and Caldera still do not support Chinese input and output. This Chinese tool can be used in both console and X Window modes to display and input Chinese characters.
  
L Cxterm
  
You can easily set the input method or modify the existing input method table.
  
Window manager
  
L KDE
  
This is the Window Manager with the highest usage of X Window System.
  
L Fvwm
  
It is recognized as one of the most useful Window managers.
  
L Fvwm95
  
Windows Manager has the same interface as Microsoft Win95.
  
L Afterstep
  
It is recognized as the best looking Window Manager, but the memory size is also large.
  
L Enlightenment
  
Windows Manager, the most gorgeous interface, is nothing compared with Win95, but the memory size is too large, a bit flashy.
  
L Icewin
  
Another very personalized Window Manager.
  
Windows application software
  
L WWW Browser
  
The navigator3.x and communicator4.x versions of Netscape are available in the same way as those of MS Windows.
  
L image processing
  
GIMP is a plotting software similar to Photoshop and is known as the strongest plotting software on Linux.
  
L graphic display tool
  
L MTV
  
This is a software that can play VCD, but it is a shared software, not a free software, and we cannot get its source code.
  
L Star Office
  
This is a well-known Office software. I personally think it is better than Microsoft Office products in terms of interface and function. The only defect is that he does not support Chinese characters, whether it is GB or BIG5.
  
L Word Perfect
  
This is a wonderful Word processing software with functions similar to Microsoft Word.
  
L Wenjie word processing system
  
This is a Word processing system developed by South Koreans. it is powerful and has a special Chinese version, similar to Microsoft Word.
  
Compiling Environment
  
L gcc
  
It is recognized that C language is the most powerful compiler in the world, but the interface is not very friendly.
  
L In addition, there are FORTRAN, Pascal, GNU make, GNU debugger, gnu lisp, gnu perl, and TCL.
  
I am not familiar with these compilation tools.
  
Simulation environment for MS Windows
  
L WINE
  
The vast majority of 16-bit MS Windows can run in this simulation environment. However, it does not support 32-bit programs.
  
6. Where can I find the discussion area?
  
Most people are familiar with Beiyou's BBS: 202.204.7.235 port: 23
  
There are also the following famous discussion areas:
  
7. installation process
  
This is a very important part. I hope you can carefully understand this part.
  
I personally think that for beginners, the installation process of Linux is quite difficult, and new users often encounter situations where the system cannot be installed repeatedly. It is very painful to encounter such a problem, but almost every newbie will encounter it again. Therefore, I think the installation process should be carefully described. However, due to the limited space, I did not see this issue in the text of the handout, but carefully stated it in Appendix 2. I hope that students who have not installed Linux will take a look at this article. I want to demonstrate the installation process for you during the course.
  
2. Linux basics
  
After the discussion in the previous lesson, I think the students should have a preliminary perceptual knowledge of Linux, but our understanding is only on the surface that still needs to be improved. Through this study, students will have a further understanding of the Linux architecture, basic operations, and basic functions.
  
I. Linux file system structure
  
The file system in Linux is very different from the file system in MS-Windows. I will not talk about the file structure in Microsoft Windows. We will mainly discuss the structure of the file system in linux.
  
Linux has only one file tree, and the entire file system starts with a root "/". all files and external devices are mounted to this file tree as files, including hard disks, floppy disk, optical drive, and modem, which are quite different from the MS-Windows system based on drive letters.
  
The file structure of Linux reflects the concise analysis settings of the operating system. the root directories of the linux release versions that we can often access are mostly the following:
  
/Bin/etc/lost + found/sbin/var/boot/root
  
/Home/mnt/tmp/dev/lib/proc/usr
  
Now I will give you a brief introduction to these directories:
  
L/bin and/sbin
  
Most of the basic programs used and maintained for UNIX and Linux systems are included in/bin and/sbin. the Two directories are famous for including bin because executable programs are binary files (binar ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.