first steps in big data knowing exactly on which server as on normal file systemyou can createrenameand delete files and folders using the command line to interact with the hadoop file system let' first retrieve the currently present list of directories and files in the hadoop root folder using the command line type the command hadoop fs -ls in putty to achieve this make sure you turn on your virtual machine with the hortonworks sandbox before attempting connection in putty you should then connect to : as shown before in figure the output of the hadoop command is shown in figure you can also add arguments such as hadoop fs -ls - to get recursive list of all the files and subdirectories figure is listed output from the hadoop list commandhadoop fs -ls the hadoop root folder we'll now create new directory "on hdfs to work with during this the following commands will create the new directory and give everybody access to the foldersudo - hdfs hadoop fs -mkdir sudo - hdfs hadoop fs -chmod you probably noticed pattern here the hadoop commands are very similar to our local file system commands (posix stylebut start with hadoop fs and have dash before each command table gives an overview of popular file system commands on hadoop and their local file system command counterparts table list of common hadoop file system commands goal hadoop file system command local file system command get list of files and directories from directory hadoop fs -ls uri ls uri create directory hadoop fs -mkdir uri mkdir uri remove directory hadoop fs -rm - uri rm - uri