Introduction to UNIX Systems

Source: Internet
Author: User

First, the basic knowledge

    1. Operating system

      The interface between user and computer hardware is to control and manage various hardware and software resources in the computer. It is a multi-user, multi-tasking, time-sharing operating system.

      For CTSS: If a process requires 16 time slices, it is now assigned only 10 according to priority and is ready to go.

    2. Development

      1) Interactive time-sharing OS with multi-channel program capability

      2) Unix Birth

      3) Free spread

      4) Production of UNIX commercial edition

      5) UI and OSF two major camps and UNIX standardization

      6) Variants and development of UNIX

      7) The birth and rise of Linux

      PC virtual out of the system Solaris. SUN OS, AIX, etc. are variants.

    3. Advantages and disadvantages of UNIX systems

      Advantages: The system is stable, reliable and safe. Multi-user, multi-tasking, time-sharing and so on.

      Disadvantages: Large system, slow installation, poor real-time function, operability and poor maintenance.

    4. UNIX System Architecture

      User, Application layer (user's action), Shell layer (translator), Kernel layer (driver, commander), Hardware (performer)

    5. UNIX Shell

      The shell is also a high-level programming language with variables and statements. The. exe program is actually running. That is, a process. He is an imperative interpreter of language.

    6. Introduction to the Solaris system

      The Sun operating system was originally Sun OS and later became Solaris with System V. Now SunOS refers to the Solaris kernel. Support various system architectures: x86, x64 and so on. Its desktop development for Java XXXX. Much like the Windows interface.

      Free software: advocated by the gun organization, satisfies the GPL (Free software General License agreement), LGPL the relatively loose license agreement, allows to publish part of the source code.

      Its filesystem is the UFS UNIX file system. Zfs.

      Version: Solaris10.

      Everything is a file representation. We can go through the configuration file to modify it.

Second, Solaris installation

Reference article:http://wenku.baidu.com/link?url=ZF6WHQdnzOGc1why-ke86hU6JQfgsvjHP2s7Vek1AAFeu1aY_ Qmkplovf2e7f-l94i7pg4ymeohn5s5mxyumfhspo_5g9pcwmohvzji9usy install SOLARIS10 under virtual machinehttp://wenku.baidu.com/link?url= 0oe-lphfgqfzomod1gxhmbgctomukestiomwvr0lpx8ctwuj3xbqeujhabyhbe0o3nsos9ca1nxmdymjwjm05zoo2g8uomzaos5xq6ugla_Virtual machine Installation SOLARIS10 system image file

http://blog.csdn.net/hws000/article/details/8611463 VMware opens the. ova file, prompting failed to query the solution for the source for information

Third, the basic operation

VI Editor Basic operation

  1. Basic operations in the command mode

    Move the cursor, find the string, and delete the copied and pasted content. It is important to note that new content cannot be modified and added in this mode.

  2. Basic operations in input mode

    It is mainly used for inputting content, modifying text files or adding new content.

  3. Basic operations in the last-line mode

    You can set the VI editor environment, save the file and exit and replace the contents of the file.

    Switching between modes

    aio– "Command mode to input mode

    esc-"input mode to command mode

    :--"command mode to last line mode

    Command mode

    Move cursor: JKHL up or down

    Paging: page Down/up Ctrl f/b

    Line: $ line End 0 beginning

    Between rows: G file end 1G file header

    Merge: J #J merge several rows

    Display line number: Set Nu/nonu

    Delete: x single character dd #dd d$ d^

    Copy: yy #yy

    Paste: p/p

    File lookup:/words or? words position n (undo one operation)/n (undo all operations on the row)

    Last-line mode

    Save file:: wq! Save and Force exit

    : W + file location means Save As

    : q! Do not save, force quit

    To replace the contents of a file:

    : S/old/new only one: s/old/new/g for another line

    : 3,4s/old/new 3-4 Lines

    :%s/old/new/g to replace the entire file (must be written in strict accordance with the rules)

    U user h hostname PWD Path $ users Rights

    Bash Shell, we can use source to make the file valid

    We can modify the command prompt by changing the/etc/profile

    Modify Ip:ifconfig by changing the name of the Hostname.elooogo NIC, one file per Nic

Introduction to UNIX Systems

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.