My path to Linux (1)

Source: Internet
Author: User
Tags clear screen

my path to Linux (1)


a : preparatory work


(1) System version: Centos 6.9 (Final) download Link: http://centos.ustc.edu.cn/centos/6.9/isos/x86_64/

Simple Description : Suitable for learning development, top recommendation, built-in simple graphical interface, no application no ads


(2) operating platform: VMware Workstation Pro 12 download link (with cracked patch):https://pan.baidu.com/s/1kWAwyiz Password: 4g53



Figure 1:VM Running the CENTOS6 interface under a virtual machine


(3) Installation Tutorials (not mentioned here) Hyper-Detailed installation graphics link: http://blog.csdn.net/yg_it/article/details/25472523 ( citation )

Note (*) : focus on disk partition mount steps


Two: Getting started with simple commands

Note: All commands are executed in a window like Windows CMD Black, Linux is generally called terminal, after entering the Linux desktop right click on a terminal,

There are other ways to open the terminal, which will come into contact later in the study.


1. command format: command name "-Options" "Parameters"

Note : The following two items can be default, the system provides default values

Terminal Prompt Introduction : [user name @ hostname prefix directory path suffix]#|$ (Root is #, $ for normal user)


Figure 2: Terminal Execution Command interface


Note: beginners need to master the most basic shutdown, restart command, there are 3 kinds of, love casual

(1) Shutdown command: Poweroff shutdown -H init 0

(2) Restart command: Reboot shutdown-r Init 6

2. Some of the most common simple commands

CD [path name]: Switch working directory

PWD: Displays the current absolute path

ls [pathname]: Displays the specified directory file (no subsequent parameter indicates the current directory)

touch [filename]: Create a new file

mkdir [path name]: Create a new path

CP [Source file] [destination file]: Copy a file

MV [source file] [destination file]: Clip a file

rm [Options] [file]: Delete a file

Rename [formerly] [new name]: Rename file

Cat [file]: View current file contents

Help internal command: Get internal command assistance (internal command i.e. resident in-memory command)

External command --help: Get External Command use assistance (two-)

Clear: Clear Screen

Ifconfig: View network information (easily confused with ipconfig commands on Windows)



Three: Learning Summary

This article simply describes the process of running a Linux system on a virtual machine and the use of some of the most basic commands, suitable for beginners, similar to my small white

Learning, quick start, common progress, study notes we casually look at Kazakhstan, do not be polite, follow up and update, if there is insufficient also begged the big man correct.










-

My path to Linux (1)

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.