In Linux, when we want to do an exit redirection, we use the symbol >
.
echo "Olá mundo" > Hello.txt
I did the above test in PowerShell and got the same result.
It turns out that when I needed to import a SQL via the command line, I could not do the same thing I do in Linux when using "inbound redirection."
mysql -u root database_name < /caminho/para/o/arquivo.sql
How do I make this input redirect in PowerShell?