 
        
       
        
      To upload a file from local disk to HDFS:
hdfs dfs -put file.txt file.txtIt will copy the file to /user/username/file.txt in HDFS.
To list files in HDFS:
hdfs dfs -lsLists the files in our HOME directory of HDFS /user/username/
To list files in the root directory:
hdfs dfs -ls /Create a directory:
hdfs dfs -mkdir /tmp/testDelete a directory:
hdfs dfs -rm -r -f /tmp/testRead a file:
hdfs dfs -cat file.txtDownload a file from HDFS to local disk:
hdfs dfs -get fichero.txtYou can easily access the HUE File Explorer from the WebUI:
