Basic use of Linux-Basic commands

Source: Internet
Author: User
Basic Linux usage-Basic commands-general Linux technology-Linux technology and application information. For details, refer to the following section. 1. display the content in the current working directory
To know what files or directories are in the current working directory, you must use the "dir" command in the "command prompt" of Windows, and then use the "ls" command in Linux, as follows:

[Root @ Linux ~] # Ls
Anaconda-ks.cfg Desktop install. log install. log. syslog

In this way, all files and self-directories under the current directory are displayed immediately on the screen. Note that you may find that the "Desktop" color is blue. Here we will remind you:

White files: General Files
Blue file: Directory
Green file: Executable File

This method is the most intuitive way to identify file types.

If you directly use "ls", the information you may see is limited. To learn more about the document, we can add the parameter "-l" so that you can see
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.