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