cat
alternatives on windows
Tl;dr
-
type
(builtin)Can print multiple files, but unlike
cat
, the output will contain the filenames in addition to the contents. -
get-content
, aliased asgc
or indeedcat
(builtin to PowerShell)Multiple files must be separated with a comma, instead of a space, e.g.
gc file1.txt,file2.txt
-
cat
with cygwin, which is a unix-like shell on windows
Related:
grep
alternatives on windows