Hadoop commands in jupyter

How do i execute ‘hadoop fs -cat file_name’ commands in jupyter notebook. It is not recognizing hadoop commands

I tried :
from hdfs3 import HDFileSystem
hdfs = HDFileSystem();

But, the package hdfs3 is not available and it is showing not accessible even after ‘pip install hdfs3’ which probably installed in user directory.

For hadoop fs -cat file_name, please use the terminal.

If you want to do it Jupyter notebook for python3, please put an exclamation mark at the beginning like this:

!hadoop fs -cat file_name