How do I redirect the output of python version into a text file in linux?
I tried the following:
python --version > old.txt
The text file is getting created but it is empty. Simple question, but beginner here.
How do I redirect the output of python version into a text file in linux?
I tried the following:
python --version > old.txt
The text file is getting created but it is empty. Simple question, but beginner here.