Linux Command First solution 2

Source: Internet
Author: User

In the Linux process, the file attribute management is a difficult point, so as a beginner of me, I directly put it in the back to slowly study, so I personally feel that the first to learn some of the knowledge points behind, back to some of what you do not understand, this is an excellent opinion of things. By the way, I would like to add that for beginners, I stand on the shoulders of Almighty God is the king of learning, if this is related to user management, I think this is what I have to consider after learning Linux, "Bird's private cuisine" is really good, but I think a lot of places are too thin, But it's easy for us to understand! So the details are also its advantages! As for how to get Root,ok

Su Root

Enter the root user's password!

Last essay about 7, then take the last content:

8, CP can be said to copy files on it format: CP source file Target file

9, LS CD These two commands are I am learning Linux most commonly used commands, LS display the directory under the file CD to the directory.

10. Touch [filename] Create an empty file

11, mkdir [directory name] to create an empty directory

When it comes to catalogs, we're not going to talk about relative paths and absolute paths.

Absolute path: The path must be written by the root directory/

Relative path: path is not written by/write

So what does absolute and relative paths do?

Very simple, relative path is you already in this House, want to go to any room in this House, as long as in the present this House to open that room, and absolute path, is you stand in the hotel's control station, want to enter which room, must first find this hotel and then in this hotel below find specific room number, And you'll find your room.

12, delete the command, I personally feel I at the beginning of the study touched the rmdir is to delete empty directory, there are many delete commands, but I think we just remember one of the best command on the line, RM–RF [want to delete anything]

This command is no reminder of mandatory deletion, beginners remember this, I think what do not, I would strongly delete what. To know that we are engaged in the development of the people who learn Linux, in general, will not be self-abusing Linux as their own computer operating system it!

13, environment variables, oh, God, even if we are in the use of Windows we have not specifically changed their own computer environment variables, of course, I in the installation of Android software development process does involve the setting of environment variables, but these we should not be too concerned about this problem. If you are interested in the environment variables, may wish to Baidu, look at the environment variable under Linux echo $PATH This command can help us understand why we can use command LS and so on.

14. View the command cat

Do you remember the nano command? In the terminal we can directly use the Cat command to view, this is excellent.

15, MV command to rename and transfer files by this command, we look at the following illustration:

This is the renaming

This is the directory where the files are transferred to Test1.

OK, I personally feel that having these commands is enough for us to use the Linux directory, file management. As for the other orders are really not what we often use, in the beginning of the scholar, have these orders to close the body is enough, the important order should be in their own development process slowly learned, that is, constantly update their learning to act as CEO, marry mating, embark on the pinnacle of life.

Forgive me, forgive me, I am a student, but only on the Linux walk a little bit of the road, willing to share their own Linux with you road!

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.