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 ...
One of the features of cloud computing is the ability to move applications from one processor environment to another. This feature requires a target operating system to receive it before moving the application. Wouldn't it be nice if you could automate the installation of a new operating system? A well-known feature of the intel™ architecture system is the ability to install Linux automatically. However, installing Linux automatically is a tricky issue for System P or IBM power BAE using the hardware management console. This article discusses the solution of ...
I. Introduction We often see some similar in the program disassembled code 0 × 32118965 this address, the operating system called linear address, or virtual address. What is the use of virtual address? Virtual address is how to translate into physical memory address? This chapter will give a brief account of this. 1.1 Linux Memory Addressing Overview Modern operating systems are in 32-bit protected mode. Each process can generally address 4G of physical space. But our physical memory is generally hundreds of M, the process can get 4 ...
The chmod command changes the access rights of a file or directory. Let's take a look at this document first. At the shell prompt, type: LS sneakers.txt the previous command shows this file information:-rw-rw-r--1 Test test 39 March 12:04 Sneakers.txt provides a lot of detail here. You can see who can read (R) and write (w) files, and who created the file (test), the group where the owner is located (Te ...).
&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; First, you should know that the letter below Windows corresponds to partition one by one. So, we used to see the C disk, D disk, and so on, often corresponds to the first partition, the second partition. Below Linux, these partitions appear in the form of devices, such as/dev/hda1/dev/hda2 ...
1.4 File permissions operation in a multi-user operating system, for security reasons, each file and directory need to be given access rights, and the permissions of each user are strictly defined. At the same time, users can give their own files the appropriate permissions to ensure that others can not modify and access. 1.4.1 Change File Master Linux assigns a file owner to each file, called the file Master, and the control of the file depends on the file master or Superuser (root). The creator of the file or directory has special rights to the files or directories created. All relationships in a file can be changed ...
The opposite of the head command is the tail command. With the tail command, you can view the 10 lines at the end of the file. This helps you view the last ten lines of the log file to read important system messages. You can also use tail to observe the process of updating log files. With the-f option, tail automatically displays new messages from the open file to the screen in real time. For example, to instantly observe/var/log/messages changes, type the following command at the shell prompt as root: tail ...
As a multi-user, multitasking operating system, Linux files are difficult to recover once they are deleted. Although the delete command is a deletion mark in the file node and does not really erase the contents of the file, other users and some processes with write-up actions will quickly overwrite the data. However, for home stand-alone Linux, or mistakenly deleted files after timely remediation, or can be restored. 1. A brief introduction to EXT2 file system structure in the Ext2 file system used by Linux, files are stored in block units, by default ...
Wind Network (ithov.com) original article: Linux how to see a hard disk read speed? We can use the Hdparm command: Hdparm-t/dev/sdx (x represents A,b,c, the first hard drive is a, the second block is B, and so on.) )。 Examples are as follows: [root@localhost chmsee-2.0.2]# hdparm-t/dev/sda/dev/sda:&http://www.aliyun.co ...
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.