Why do you need to download El Capitan through Terminal.
El Capitan is freely available from this link.
Mac Os X El Capitan Bootable Usb Download – Pete Batard created Rufus for our quickly changing age exactly where DVDs are becoming a lesser amount of important, and USBs are taking over. Several computers no longer possess DVD drives for that reason holding onto installation software needs to be held in a distinct format. I need to make a bootable USB drive installer for a 2009 MBP. I just put in a new SSD and want to do a fresh OSX install. I believe that El Capitan is the last supported software for this hardware. I'm looking for an OS X El capitan.app download but I can't seem to find it anywhere.
Here are the instructions.
Go to Section 4 and click on Download OS X El Capitan.
Create Bootable Usb Os X
This downloads InstallMacOSX.dmg to your Downloads folder.

The next section can only be done on a mac that is capable of running El Capitan,
a mac that came preinstalled with an OS later than El Capitan will refuse to do the next bit.
When downloaded open to InstallMacOSX.pkg, double-click on

that and an installation window will open, this does not install El Capitan
but converts the InstallMacOSX.pkg to the Install OS X El Capitan.app which
you will find in your Applications folder, it should be 6.2GBs in size.
(If the installation window asks which disk you want to install to, you must pick
the disk that you are booted to at the time. Not any internal or external disk that
you want to eventually install El Capitan on, that is for later.)
Mac Os X El Capitan Dmg Bootable Usb Download
To start the installation of El Capitan double click on the Install OS X El Capitan.app.
The copy of the install app self deletes after installing El Capitan, so make sure you keep a copy of the InstallMacOSX.dmg
if you need it in future, or you could just make a copy of the Install OS X El Capitan.app prior to installing and moving it to
an external drive for safe keeping. It is also possible to create a bootable USB installer disk using the Install OS X El Capitan.app
in the Applications folder and the createinstallmedia command in the Terminal app.
Os X El Capitan 10.11.6
Read the instructions here,
Bootable Android For Pc
Sep 2, 2020 12:18 AM