DEV Community

In Defense of the Command Line

Dave Swersky on November 26, 2018

I’m old enough to remember when the only way to interact with a PC was through the command line. DOS on an IBM PC was my entry point to compu...
Collapse
 
kspeakman profile image
Kasey Speakman

“All abstractions leak, some are useful.”

I believe this is a repurposed version of this quote:

All models are wrong but some are useful

  • George Box, ref
Collapse
 
deafmetal profile image
Deafmetal

Meanwhile, the Linux and Mac communities quietly carried on with their work in that good ol’ terminal window.

Only in this century! Before OS X the command line was not so common in the general Mac community.

Collapse
 
sqlrob profile image
Robert Myers

A warning on conemu and other terminal emulators for Windows. They DO NOT behave the same as a pure command(or powershell) prompt

A coworker wrote a CAKE script for the build that was supposed to wait for a spawned process to finish. The script he wrote would simply block forever on my machine. Finally tracked it down to some of the kludges he wrote to find the right process to wait on. The entire set of kludges was needed because he was using a terminal emulator and the spawned process was not a direct child process.

Collapse
 
francescobianco profile image
Francesco Bianco

Please look up Vintage Package Manager
github.com/francescobianco/vintage

Collapse
 
mdabek profile image
Marek Dabek

You got my full attention at "HIMEM.SYS was the configuration that stood between me and the latest PC games" ;) Hours of tinkering to load that damn Strike Commander!

Collapse
 
sqlrob profile image
Robert Myers

Yeah, mention of himem.sys gave me some serious flashbacks.

It was also my first bout of reverse engineering. I ended up writing a full screen, boot time, fully interactive config.sys editor for DOS 5 to make things simpler to swap around.