Emulation of the functionality of the cat command in linux using Python 3.7
- Clone the repo to a local directory
git clone git@github.com:lewandowski96/cat-in-python.git
-
Navigate into the cloned directory using the terminal/command prompt
-
Copy the root path of the file you want to cat (ex :- /home/abcuser1/Documents/myarticle.txt)
-
Run the script as below.
python3.7 main.py {provide the file path here}
ex: python3.7 main.py /home/abcuser1/Documents/myarticle.txt