My Os is windows 10 and I am using a jupyter notebook from anaconda prompt.
When I type !pwd it works, When I type !ls -l it works, But when I want to chain the commands and output them to an output file e.g. !(pwd; ls-l) > out.txt it says: “pwd: unknown option — l Try ‘pwd –help’ for more information.”
Does anyone know how to chain these commands and output them to a file?
Thank you in advance