Basic Linux Operations

Source: Internet
Author: User

Install the virtual machine after installing Linux system prompt

This indicates that your computer BIOS needs to change the CPU function inside a virtual support to enable to solve the problem

Http://www.chuanke.com/v1819957-108331-208490.html?st=0 video learn a little bit and make a note

Control the operating system primarily by terminal typing commands

F11 Control Terminal fullscreen

Ctrl Shift + Enlarge font

Ctrl-Shrink Fonts

Command format: Command word parameter Action object

Man command see instructions for using the command example: Man ls

CTRL U clears the output command Ctrl L Clear screen

With "." The file at the beginning is a hidden file

The LS command displays the files in the directory

The PWD command displays the directory in which you are currently

CD Switch directory: /represents the parent directory of the current directory (UP)./indicates the current directory

CD back to user home directory CD-back to pre-arrival directory (back) CD ~ Back to user home directory

mkdir Command Create directory rmdir command delete empty directory Touch command Create file RM command Delete file can delete all txt files with wildcard rm *.txt

Mkdir-p A/B/C/D Create a multilevel directory rmdir-p a/b/c/d Delete the multilevel directory (only the linear directory, no other branches in the directory)

RM-RF a Delete a directory (no matter if there is no file in a directory, it is generally not recommended)

CP command Copy file for example: CP src.c A/src.c.bak (copy the src.c file to the A directory)

MV command to move or change the name of a file or directory

(not to be continued)

Basic Linux Operations

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.