Linux Command Summary----reproduced

Source: Internet
Author: User

1. terminal is a wonderful thing, at first it's low Yan value, high difficulty may make us discouraged.

But after getting started, you'll find that the terminal command line is so powerful that it feels like a fly. Is this feel, double son cool ~ Enjoy "fingertips, everything in control" feeling.

And the terminal can help us to do some of the graphical interface does not work, and can simplify the complex.

Although we can use the shortcut keys (Ctrl + Alt + F1 ~ F6) to enter the Tty1 ~ tty6 six Real full-screen terminals, but we usually still compare common graphics mode terminal.

2.The Linux terminal will have a string called "command line Prompt" at the beginning of each line, generally this prompt contains your user name, your computer's name and the path you are in. The format of this prompt can be set by itself.

We enter a command at the command prompt to tell the computer what tasks we want it to accomplish.

Commands can be used alone or with parameters. Parameters are like options that can change the behavior of the command.

The parameters of the command are usually made up of a short cross and a letter, such as-H, or it can consist of two short and several letters, such as--HELP.

After entering the first letter or the first few letters of a command, we can use the TAB key to complete the command, very convenient.

You can use the upper and lower keys on the keyboard to look back and forth the used commands, you can also use CTRL + R This set of shortcuts to find used commands.

In the operation of the terminal, there are many common shortcut key combinations. Knowing or remembering some shortcuts will make us more efficient.

3. in Linux, everything is file! This is a big difference from windows.

Linux files and directories are tree-like scattered from the top to bottom of the root directory/start.

The place where ordinary users store their private files is in the/home directory, and if your username is Oscar, then your user's family directory is/home/oscar.

The PWD command is used to display the currently located directory.

The LS command is used to display files in the current directory.

The CD command is used to switch directories.

The du command is used to count the directory size.

Linux Command Summary----reproduced

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.