2
On Linux, when we want to do an output redirect, we use the symbol >
.
echo "Olá mundo" > Hello.txt
I did the above test on Powershell and got the same result.
It turns out that when I needed to import an SQL via command line, I couldn’t do the same thing I do on Linux by using "incoming redirect".
mysql -u root database_name < /caminho/para/o/arquivo.sql
How do I make this input redirect in Powershell?
Interesting. Thank you for your reply, but in that case the intention was to ask a general question on the subject.
– Wallace Maxters
@Wallacemaxters by that same wrote "as alternative", I was going to reply something similar to that of Maniero, as it was faster I erased the beginning of my answer and left only the alternative part :P
– Guilherme Nascimento