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
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.