News for hackers. Stuff that matters.
Re:Learn Linux The Hard Way (β version) by dagw on Friday December 21, 2012 @07:30AM (#4952455)
The big difference between vi and all the other editors out there is that some version of vi is installed by default in just about every variation of *nix you're ever likely to encounter. Vi doesn't have to be your favorite editor, and you don't have to be a power user, but you have to know at minimum how to edit a file with reasonable proficiency, so you're not completely lost the first time you ssh into a box that doesn't have your favorite editor installed.
Re:Learn Linux The Hard Way (β version) by pbhjpbhj on Friday December 21, 2012 @08:28AM (#4952578)
Couldn't you just pull in a nano binary (assuming you've no access to a package manager on the remote host) if you've more than a few lines to edit.
Re:Learn Linux The Hard Way (β version) by dagw on Friday December 21, 2012 @10:18AM (#4952951)
Assuming you have one handy that is statically built against the the right libraries for the right architecture and the right OS, and assuming the machine (and network) is in a state where you can get at the place where the binary is stored. But that is a lot of assumptions and I would rather just take the time learn the basics of vi rather than hope that all those assumptions always happen to be true.
Re:Learn Linux The Hard Way (β version) by Draiken on Friday December 21, 2012 @09:24AM (#4952744)
It's not about being able to install your other favorite editor. It's about knowing how to use the one common editor between linux distros.
Re:Learn Linux The Hard Way (β version) by sjf on Friday December 21, 2012 @10:47AM (#4953082)
If you're a system administrator, it's highly likely that solving this problem is probably as difficult as the original task you had to do.