I am new to Hadoop and starting working on few commands and I am trying to create a new file in linux terminal. What is the difference between
[edureka@localhost ~]$touch file.txt
and
[edureka@localhost ~]$hadoop fs -touch**z** file.txt.
Why in a local file system for creating a new file touch is used and why in the Hadoop file system for creating a new file touchz is used