1 Hadoop fs ----------------------------------------------- --------------------------------- The hadoop subcommand set executes on the root of the / home directory on the machine Is / user / root --------------------------------------------- ----------...
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 ...
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 ...
Start Hadoop start-all.sh Turn off Hadoop stop-all.sh View the file list to view the files in the/user/admin/aaron directory in HDFs. Hadoop Fs-ls/user/admin/aaron Lists all the files (including the files under subdirectories) in the/user/admin/aaron directory in HDFs. Hadoop fs-lsr/user ...
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 ...
1.2 Directory Operation command 1.2.1 View directory the command for viewing directory content 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:-A: Lists all files, including those with "." First file;-D: If you are following a directory, use this parameter to output only the name of the directory;-L: Displays file entries in long format, including ...
Overview All Hadoop commands are raised by the Bin/hadoop script. Do not specify parameters running the Hadoop script prints the description of all commands. Usage: Hadoop [--config confdir] [COMMAND] [generic_options] [command_options] Hadoop has an option parsing framework for parsing general options and running classes. Command option description--config confdir overwrite default configuration directory ...
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 ...
Professional computer staff usually need to use the command line. One of the operations is to switch to the specified directory. Here will introduce a simple windows hidden function to improve everyone to enter the specified folder command line speed to improve work efficiency. This article to a desktop into a folder command line to start a discussion. First determine the target, we have to quickly switch to the directory shown in the command line. This article is through the context menu to enter. First, let's take a look at the regular right-click directory. Then we hold down the Shift key in the keyboard, hold do not loose at the same time we ...
Familiarity with the command line interface is significant for using and managing Linux operating systems, and this chapter describes the knowledge of shell operations in the Red Flag asianux Server 3 system. 1.1http://www.aliyun.com/zixun/aggregation/22929.html "> Basics" The following knowledge of the Linux shell and files and directories is the basis of this chapter. 1.1.1 File name Li ...
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.