News for hackers. Stuff that matters.
Re:Learn Linux The Hard Way (β version) by jiggy2011 on Friday December 21, 2012 @07:15AM (#4952420)
True, but one thing I noticed is that some command line tools like to just throw vi at you unannounced when you do something that required editing.

This was one of the most frustrating things when I was learning linux, "I press buttons but nothing happens, how do I get out of here?"

Re:Learn Linux The Hard Way (β version) by ay on Friday December 21, 2012 @07:28AM (#4952448)
EDITOR environment variable usually takes care of that for most of them.

An esoteric example from my MacOS X:

sh-3.2# EDITOR='cat' vipw | grep root:

root::0:0::0:0:System Administrator:/var/root:/bin/sh

daemon::1:1::0:0:System Services:/var/root:/usr/bin/false

vipw: no changes made

vipw: /etc/master.passwd: unchanged

_cvmsroot:*:212:212::0:0:CVMS Root:/var/empty:/usr/bin/false

sh-3.2#

Great excuse to talk about environment variables and changing/examining them...