echo into file bash code example Example: cli echo to file echo hello world > %userprofile%\Desktop\hello_world.txt