目录
需求:统计文件中各个单词出现的个数
一、准备
hello.txt
Once when l was six years old l saw a magnificent picture in a book called True Stories from Nature, about the primeval forest.
lt was a picture of a boa constrictor in the act of swallowing an animal.
Here is a copy of the drawing: In the book it said:"Boa constrictors swallow their prey whole, without chewing it.
After that they are not able to move, and they sleep through the six months that they need for digestion."
And after some work with a coloured pencil l succeeded in making my first drawing.
My Drawing Number One.
lt iooked like this: I showed my masterpiece to the grown-ups, and asked them whether the drawing frightened them.
But they answered:"Frighten?
why should anyone be frightened by a hat?
My drawing was not a picture of a hat.
lt was a picture of a boa constrictor digesting an elephant.
But since the grown-ups were not able to understand it, I made another drawing.
l drew the inside of the boa constrictor, so that the grown-ups could see it clearly.
They always need to have things explained.
二、Xshell
1、进入 software 目录
cd /opt/software
2、创建testData目录
mkdir testData
3、进入 testData 目录
cd testData
4、创建 mapreduce 目录
mkdir mapreduce
5、进入 mapreduce 目录
cd mapreduce/
6、使用rz 命令上传 hello.txt 文件
7、使用 ll 命令进行查看是否上传成功