/
Hadoop fs-ls Input
This example is the calculation of how many words
Hadoop jar hadoop-*-examples.jar grep input Output ' [A-z] +'
root@hadoop-desktop:/usr/local/hadoop# Hadoop fs-cat
size-s sort by file size–sort=word The following are optional WORD and the corresponding options they represent:Extension-x status-cNone-u time-tSize-s Atime-uTime-t Access-uVersion-v Use-u-T sorted by file modification time-U mate-lt: Show access time and sort by access timeMate-L: Show access time but sort by nameOtherwise: Sort by access time-U does not sort, lists items according to the original order of the file system-V Sort by version-W,–WIDTH=COLS Specifies the screen width without usin
compilation:[[emailprotected] hadoop-3.0.0-snapshot]# file lib//native/*lib//native/libhadoop.a:current ar archiveli B//native/libhadooppipes.a:current ar archivelib//native/libhadoop.so:symbolic link to ' libhadoop.so.1.0 .0 ' lib//native/libhadoop.so.1.0.0:elf 64-bit LSB shared Object, x86-64, version 1 (SYSV), dynamically linked, not Str Ippedlib//native/libhadooputils.a:current ar archivelib//native/libhdfs.a:current ar archivelib//nati Ve/libhdf
I am just a novice rookie, for the blog is also the first write, please many magnanimous, welcome everyone to point out the error 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0057.gif "alt=" j_ 0057.gif "/>.ls is one of the most commonly used basic commands and the first command that most beginners learn when learning Linux, which is typically used to view files in the current directory or directory.The specific use of the command is as f
ObjectiveWhat is Hadoop?In the Encyclopedia: "Hadoop is a distributed system infrastructure developed by the Apache Foundation." Users can develop distributed programs without knowing the underlying details of the distribution. Take advantage of the power of the cluster to perform high-speed operations and storage. ”There may be some abstraction, and this problem can be re-viewed after learning the various
Tags: directory file structure LS aliasdirectory Structure of Linux systemsroot directory/vertex, all other directories are under the root. The directories and subdirectories below the root are a hierarchical tree structure, much like an upside down tree. The directory structure and disk partitioning of Linux are separate.root directory
/bin the command that stores the binary, which is generally used by ordinary users
/boot storage System
Hadoop consists of two parts:
Distributed File System (HDFS)
Distributed Computing framework mapreduce
The Distributed File System (HDFS) is mainly used for the Distributed Storage of large-scale data, while mapreduce is built on the Distributed File System to perform distributed computing on the data stored in the distributed file system.
Describes the functions of nodes in detail.
Namenode:
1. There is only one namenode in the
Linux common command LS New Linux operations, common commands
ls command
Grammar
Options
Parameters
Instance
ls commandThe LS command is used to display the target list, which is a high-usage command in Linux. The output information of the
Common command-->. lsfunctionLs-->list: (List directory contents) is used to display the list information in the contents of the directory, and to distinguish between different file types by color, of course, you can display files to find files.Syntaxls [OPTION] ... [FILE] ..., using #man ls to derive command syntax, "[]" means can be omitted, you can use LS alone to display the list information in the dire
/target/hadoop-3.0.0-snapshot/binTo view some information about the compilation:[[emailprotected] hadoop-3.0.0-snapshot]# file lib//native/*lib//native/libhadoop.a:current ar archiveli B//native/libhadooppipes.a:current ar archivelib//native/libhadoop.so:symbolic link to ' libhadoop.so.1.0 .0 ' lib//native/libhadoop.so.1.0.0:elf 64-bit LSB shared Object, x86-64, version 1 (SYSV), dynamically linked, not Str
Ls
Introduction :The LS command is used to display the target list, which is a high-usage command in Linux. The output information of the LS command can be colored highlighted to distinguish between different types of files.
Parameters:The directory or file to display
Options :-A: Show All files and directories[Email protected] ppp]#
One, cd commandCd--change directory is the transform catalog.CD absolute path or relative pathCD ~ User indicates to this user's home directory, i.e./home/userCD ~ means to return to your home directory, which is the/root directoryCD means back to your home directoryCd.. Returns to the last directorySecond, ls commandLs--list lists the files in the current directory.Ls-l is a Long data serial that lists files, including data such as attributes and per
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/75/4F/wKioL1Y2N9GT9xJUAAH1N4vz_5g618.jpg "title=" ls.jpg "alt=" Wkiol1y2n9gt9xjuaah1n4vz_5g618.jpg "/>ls list file names and permissions under files or directories
command function:ls (list directory contents) lists file names and permissions under files or directories, and the LS command can not only view Linux Folders contain files and
The directories or files displayed after the default LS is not colored in Solaris, and if you want to make it look like Linux, you need the following steps
First, go to www.sunfreeware.com download coreutils-4.5.4-sol9-sparc-local.gz
Second, the following 10 steps to complete
1. Color output is a feature of the gun version of LS command, so you have to get this version first, you can download sunfreeware
The main introduction to the Hadoop family of products, commonly used projects include Hadoop, Hive, Pig, HBase, Sqoop, Mahout, Zookeeper, Avro, Ambari, Chukwa, new additions include, YARN, Hcatalog, O Ozie, Cassandra, Hama, Whirr, Flume, Bigtop, Crunch, hue, etc.Since 2011, China has entered the era of big data surging, and the family software, represented by Hadoop
An issue with ls and wc commands in Linux-Linux general technology-Linux technology and application information. For more information, see the following. Here is a question about the ls and wc commands:
[Qianxb @ aa qianxb] $ cat a. sh
#! /Bin/bash
Num = 'ls | wc-l'
New = q $ num
Echo $ new
The execution result is "q 2" with a space in the middle.
Starting today to introduce you to the common Linux commands, first of all, we introduce the most frequently used command--ls command in Linux.
For more information on Linux commands, see: Linux Command Quick check manual
The Linux ls command is a powerful and useful command for displaying the contents of a specified working directory (which lists the files and subdirectories in the current working
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.