8.15 Linux basic Command Software Installation

Source: Internet
Author: User

Shell command interpreterSee which shells are in the current system

View the Shellecho that the current system is using $SHELL
Bash Utility CommandsCTRL + A//The beginning of the commandCtrl+e//The end of the command
Ctrl+p//previous command CTRL + N//After a command
Ctrl+b//Cursor moves forwardCtrl+f//cursor moves backwards
Crtl+u//Delete entire command, can cooperate with Ctrl+e
rwx PermissionsFile:r:    have read access to the file
W:    There is no write permission to the file
    x:    There is no execute permission on the file
Directory:r:    can I view the files for this directory ?
W:    can not delete the directory files, can not rename the directory of the file
x:    can you get in this directory ?


whichWhich LS view command in which directory


LNLn-s file name Soft connection Name-----> Similar shortcut ln filename hard connection name-------> php-like reference, you change me too

chown change the owner of a file
ChownRoot:rootThe file name is preceded by a user, followed by a group

finding FindFind    ./*     -name "hello.c"//default recursive lookup

To find the suffix from the root directory is. c files

Retrieving content grepgrep "Content"./*grep "Hello"./*-R            //Current directory recursively finds lines that contain a Hello word

Deb Package Installation
Dkpg    - I. Name     installationDkpg   - R nameUninstall
Source Package Installation1.    Unpacking tar2.    CD./3.    ./configure4.     Make5.    Make Install
Networking ApproachNAT does not have a network segment, but when Ping goes out, it is a bridge that goes out of the way of the hosttwo different IPs, same network segment
Problem with your own virtual machine? So NAT can go out to the Internet and the bridge is not available. Because Nat borrowed the NIC driver for Windows


From for notes (Wiz)

8.15 Linux basic Command Software Installation

Related Article

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.