The Computer Oracle

Why does this not work? "ls *.txt | xargs cat > all.txt" (all files into single txt document)

--------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Flying Over Ancient Lands

--

Chapters
00:00 Question
00:33 Accepted answer (Score 30)
01:04 Answer 2 (Score 3)
01:39 Answer 3 (Score 1)
02:08 Answer 4 (Score 0)
03:45 Thank you

--

Full question
https://superuser.com/questions/193599/w...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#pipe #cat #xargs

#avk47