In many cases, we want to know how much space the individual files and directories on the hard disk are using. And the total space occupied by a directory. The du command can help us. After we enter the terminal, we can use this command in any directory. Now use this command in the OPT directory of our own Linux system. We tried to enter the command: Du. In the figure above, we use the Red line to show the size of each file and directory that occupies the hard drive. The position of the green coil is relative to the name of each file and directory. And the position of the blue circle is the order of the current eye ...
In Linux we already have a very sophisticated graphical interface. However, in many cases, the use of command-control systems is very practical. For example, when the graphical interface fails to enter, and the server requires software to conserve resources, http://www.aliyun.com/zixun/aggregation/13879.html "> System administrators typically use commands to complete their work." In a Linux system, building a directory is just like any other system ...
Let's open the system terminal and directly enter LS in the directory to see what it outputs? The original LS command lists all the files and directories in the terminal's current directory. The names we see in blue are directories. Of course, all of these directories may also have subdirectories and files. We would like to know which directories and files are available under these directories and which can be displayed using the-R parameter. The LS command also has a number of parameters that allow for more detailed information. For example-1 parameters. It can make the files and directories within the directory show only one per line, I ...
Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host Technology Hall Linux is not as easy to use as our familiar Windows, the first time using Linux, Perhaps after SSH connection does not know how to do, on an interface, for beginners, completely do not know how to operate. Here are some simple common SSH command files and directory operation commands. ...
In Linux, the CD command is a frequently needed instruction, and the CD command allows us to switch freely in the directory, if you need to switch to the root directory, the command is as follows: [root@localhost ~]# CD/[Root@localhost/]# Here we introduce you to use the CD command tips in any directory to switch home directory [root@localhost/]# CD [root@localhost ~]# ...
Maybe my friends remember that in the Dos era we used a lot of commands to get the job done. After entering the Windows age, because of the computer's ease of use greatly enhanced, users have gradually forgotten the command. Nevertheless, "command" still has an important place in the computer field. Friends may ask: "Computers have been using a graphical interface for so many years, what is the order today?" "Yes, the average user is getting away from the order." This is the original intention of inventing the graphical interface: simplifying the operation. But computer hardware and software, like any other product, will fail. Then after the failure ...
The pwd command represents "Print sharable directory" (print working directory). When you type PWD, you are asking your Linux system to display your current position. For example: [Root@teacher apache]# Pwd/tmp/apache indicates that you are currently in the/tmp/apache directory.
8.2.1 Directory Operation command 8.2.1.1 view directory The command for viewing the contents of a directory is LS, which displays the contents of the current directory by default, and can be viewed by giving one or more directory names at the location of the command line arguments. The syntax format for the command is: LS [options] ... [filename] ... the LS command has multiple command-line options, such as the parameter feature description-a lists all files, including the "." First file-D if the following is a directory, then use this parameter to output only the name of the directory-L use the long format display ...
It is easy to create a file in Liunx so that there are any files that are at any time in the system, and users can delete them with the RM command. This command deletes the file or directory itself from the directory, and for the linked file, only the link is deleted and the original file remains unchanged. http://www.aliyun.com/zixun/aggregation/18137.html > options for deleting files and directories include:-i-interaction. Prompt you to confirm the deletion. This option will help you avoid accidentally deleting files ...
Use the LS command to display the contents of your current directory. The LS command has many options available. To see all the options for the LS command, you can read the instructions page by typing man ls at the shell prompt. The following is a short list of some common options used with LS. Comma all. Enumerates all the files in the directory, including hidden files (. filehttp://www.aliyun.com/zixun/aggregation/11696.h ...
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.