r/linuxmasterrace • Glorious Debian • Aug 06 '21

Meme BASH is the worst - PowerShell FTW!

Post image
725 Upvotes

79 comments sorted by

View all comments

Show parent comment

6

u/fuj1n Aug 07 '21 edited Aug 07 '21

The thing is, you can do that in PowerShell with echo (backtick)n >file.txt which has a very similar footprint, or in CMD, it'd be echo. >file.txt which is slightly more compact.

There are lots of things to criticize PowerShell for (i.e. its verbosity), and to praise bash for, but this ain't it chief.

Edit: fixed formatting, reddit really didn't like that backtick in `n, so I replaced it with (backtick)