Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use the command line a lot for web dev but wouldn't say I was a real power user.

Pain points for me are discoverability and ease of making dangerous mistakes. I can't remember the command for every useful utility and it's very easy to accidentally break lots of things. Great power comes with great responsibility and all that.

What tools do you use for auto-complete-ish features on the command line? or anything to generally make using it easier.



Prezto for zsh has pretty good command line completion and a lot of plugins which are either on by default or available for you to flip the switch on. It's taught me some nifty bits of git, gpg and some others. https://github.com/sorin-ionescu/prezto

I personally prefer working on a command line because it's _more_ discoverable to me than most gui's. This did take some getting used to though. The approach is different.

The worry over making dangerous mistakes is understandable. That said I have made very few big ones after a bit of learning, and it has also helped me _avoid_ making dangerous mistakes by facilitating the automation of otherwise delicate or involved tasks which would be unpleasant to click and type through.


I think you're confusing CLI (an application interface) with a command line. I would argue that CLI applications are inherently more discoverable than GUI applications, if only because `cli --help` or `man cli` give you a pretty complete overview of the functionality; the GUI equivalent is digging through menus and modals--this is getting better with Help->Search, but it's not as nice as `cli --help | grep <feature>`.

I think the real usability issue of CLI is that their potential is handicapped if you don't know how to compose these programs, etc. In other words, if you don't know your way around a Unix command line, you're not going to be able to make use of the tool that assume that knowledge.

I think this is different than what you're saying, but maybe I'm just repackaging your points?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: