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 ...
Feature Description: Displays the path between the packet and the host. Syntax: traceroute&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [-DFLNRVX] [-f< Survival Value [-g< Gateway ...] [-i< Network Interface [-m< Survival Value [-p< Communication Port [-S ...
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 ...
Function Description: Display terminal connection standard input device file name. Syntax: tty&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [-S] [--help] [--version] Supplementary Note: In the Linux operating system, all peripherals have their name and 5643.html "> code, these names are special file types stored in/dev ...
In a system, if we no longer need a user, it is usually necessary to remove it to free up computer resources. We use the Userdel command to remove user actions is very simple. Simply enter the user name after the command. Please try to enter a command in the terminal: Userdel yes. If a prompt appears, the command has been successfully executed. We try to delete a nonexistent user and see what prompts the terminal will give us. Oh! Terminal says: "User yess does not exist" looks like the information returned by the terminal is very straight ...
Function Description: Send information. Syntax: wall&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [Bulletin Information] Supplemental Note: Through the wall directive can send the information to each person who agrees to receive the public information of the terminal user, if does not give its information content, then the wall instruction will read the data from the standard input device, and then transmit the obtained data to all terminal users.
Feature Description: Find and display http://www.aliyun.com/zixun/aggregation/10619.html > user information. Syntax: Fwhios [account name] Supplemental Note: This directive features a bit like the finger instructions, it will go to find and display the specified account user information. The difference is that the Fwhois directive is to receptacle FX whois database to look up, the account name ...
For a computer user, you store, move, and delete files on disk day after day. Of course you care about disk space usage. There is a Shell in Linux that allows users to have a clear picture of how disk space is being used anytime, anywhere. It is the "DF" command. We tried to enter DF in the terminal to see what it would show. Gosh, there's a lot of stuff. But those numbers are so long, do I have to spend a lot of time trying to figure out how much space the disk has? Perhaps DF's lifeline-H parameter can help you. We try to be in the terminal ...
Function Description: Report the status of the program. Syntax: gitps&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [ACEFGJLNRSSTUVWXX] [P < Program identification Code] [T < terminal number] [U < account name] Supplemental Note: Gitps is used to report and manage procedures ...
Feature Description: Delete group. Syntax: groupdel&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [Group name] Supplemental NOTE: When you need to delete a group from the system, you can do this by using the Groupdel directive. If some users are still included in the group, you must delete the users before you can delete the group.
Function Description: Change the group identifier or name. Syntax: groupmod&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [G < Group identification code > <-o>] [-N < new group name] [Group name] Supplemental NOTE: When you need to change the group's identification code or name, you can use Groupmod ...
Function Description: Talk to other users. Syntax: talk&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [User Name] [Terminal number] Additional note: You can talk to another user online via the talk directive.
The Groupadd command is used to create user groups on a Linux system. This allows users to get the permissions they have in their group by assigning different permissions to different groups of users and then adding different users to different groups as needed. This approach is handy when there are many users in Linux. The Groupadd command is simple to use, simply enter the user group name after the command. Please try typing in the terminal: Groupadd hello. At this point, we have created a user group called "Hello". For the ...
Function Description: Display the current login system http://www.aliyun.com/zixun/aggregation/10619.html "> User information." Grammar: Who [-himqsw][--help][--version][am i][Records] Supplemental Note: The implementation of this directive can be learned that the current user login system, the individual implementation of the WHO directive will be listed login account, the use of terminals, log in ...
Function Description: First appears the user name. Syntax: whoami&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [--help] [--version] Supplemental Note: Display its own user name, this instruction is equivalent to the implementation of "Id-un" instructions. Parameters:--help online Help. --ve ...
Function Description: Declare &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp;shell variable." Syntax: Declare [+/-][rxi][variable name = set value] or DECLARE-F Supplemental description: Declare for Shell directives, in the first syntax can be used to declare variables and set variables ...
Function Description: Analyze the dependencies of the load module. Syntax: depmod&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; [-ADEISVV] [M < document] [--help] [Module name] Supplemental NOTE: Depmod can detect the dependencies of modules for modprobe to use when installing modules. Parameters:-A or--ALL&N ...
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.