Linux beginner's notes

Source: Internet
Author: User
Linux beginner's note-general Linux technology-Linux technology and application information. For more information, see the following section. Linux Basics

Only ubuntu can be installed in the Linux environment, or the LCD is not supported.

Using shared Folder under VM/Setting/option in VMware to set sharing.

A vmware-config-tools.pl running on the slave/usr/bin

⒋ Su-root carries the root environment variable

⒌ Ueeradd and passwd

Export pwd ls-l cd mount mkdir rmdir

Cp-a./my/why./-a indicates to keep the link, file attributes, and copy its subdirectories.

Rm-r-I./why-r recursively deletes all directories and subdirectories listed in the parameter, and-I deletes them interactively.

Chmod g + w o-x/usr/local/u file owner g group user o all users of other user

Ls-I view the node number

Find/etc-name passwd search for passwd files in etc-size by size-type by type

Grep [parameter] 'str' filelist searches for strings in the file

Comparison files of diff and cmp

Redirect:

Standard input file: keyboard file descriptor 0

Standard output file: Display 1

Standard Error file: Display 2

Input redirection: $ cat <test1

Output redirection: $ cat test1> test2

Error redirection: $ cat datafile 2> error-mesg

Dig network command: ifconfig ping

⒐ Application package tar cvf name.tar/home

Tar czvf name.tar.gz/home compression package c: Create z: compression v: View f: File

Tar xvf .......

Tar xzvf .............

Shell Basics

⒈ Echo Displays information on the screen

Comment # Annotation

The values variable is a string expr 4 + 5 to calculate the value or use $ (...) for calculation.

Then-a and-o or! Non

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.