8) Hadoop fs –move ToLocal: Is not possible, because there are many replicas of the file is present on HDFS. so moving is not possible.9) Hadoop Fs –rm: To remove the files from directory i.e same as in local
Ex: a. #hadobp fs –rm hdfs test/*-*
Remove all files from the directory
b. #hadobp fs –rm hdfs test/file1.txt
Remove the files 1.true from the directory.10) Hadoop fs –rmv: To remove the dir.
Ex: #hadobp fs –rmv hdfs test
Directory name11) Hadoop fs –mv: Used to move files from one directory to other directory in hdfs. i.e files not available in source directory.12) Hadoop fs –cp: To copy the files from one directory to another directory.
Ex: #hadobp fs –cp hdfs test1/* hdfstest
All files13) Hadoop fs –touch z: It will create the dummy file with
Ex: #hadobp fs –touch z hdfs test/file1.txt
File1 is created

Join MindMajix Network

Mindmajix - Online global training platform connecting individuals with the best trainers around the globe. With the diverse range of courses, Training Materials, Resume formats and On Job Support, we have it all covered to get into IT Career. Instructor Led Training - Made easy.