I mess with Hadoop. Launched hdfs namenode -format. He gave some errors that I did not see because the lines ran too fast. I tried to write
hdfs namenode -format | ls hdfs namenode -format > result.txt .. however, this and other results did not work.
Did I do the right thing? Why could not manage the output?
| ls| ls, then ls lists the contents of the directory, you hardly wanted to use this command. - etki