Comments on: 11 Useful Split Command Examples for Linux Systems https://www.linuxtechi.com/split-command-examples-for-linux-unix/ Wed, 26 Jul 2023 07:07:13 +0000 hourly 1 By: Lakhan Shah https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-56404 Wed, 26 Jul 2023 07:07:13 +0000 https://www.linuxtechi.com/?p=7223#comment-56404 how to use command split -d , start with 1 instead of 0

]]>
By: Peter https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-22822 Thu, 25 Feb 2021 18:43:57 +0000 https://www.linuxtechi.com/?p=7223#comment-22822 Thanks for the bit about using cat to reassemble the original file.
I could not find that anywhere else.
It allowed me to get the job done.

]]>
By: Brice Coustillas https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-22426 Wed, 18 Nov 2020 08:02:19 +0000 https://www.linuxtechi.com/?p=7223#comment-22426 Please note that in Darwin (a Macintosh variant of BSD Unix), M is not accepted as a size suffix — it has to be m (lowercase); also G or g is not accepted while thousands of megabytes are.

]]>
By: leonardo https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-19948 Wed, 29 Apr 2020 03:42:39 +0000 https://www.linuxtechi.com/?p=7223#comment-19948 In reply to pratish.

split -l300 –additional-suffix=.json abc.json abc_splited_

]]>
By: pratish https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-14935 Thu, 19 Sep 2019 06:50:02 +0000 https://www.linuxtechi.com/?p=7223#comment-14935 While split on file the output files are with is extension.
Like:
split -l300 -b abc.json

Needed output like :
abc00.json
abc01.json
abc03.json

How can i get the splited files with its extension?

]]>
By: Abdrahim https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-8592 Fri, 29 Mar 2019 03:48:02 +0000 https://www.linuxtechi.com/?p=7223#comment-8592 thank you this for this command you help me -)

]]>
By: Pedro Bezunartea López https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-6071 Thu, 04 Oct 2018 19:35:45 +0000 https://www.linuxtechi.com/?p=7223#comment-6071 Brilliant! Very detailed, thank you!

]]>
By: Kristian Kirilov https://www.linuxtechi.com/split-command-examples-for-linux-unix/#comment-2089 Tue, 14 Nov 2017 13:09:33 +0000 https://www.linuxtechi.com/?p=7223#comment-2089 Thanks a lot

]]>