4 ms·
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.
by pbhjpbhj 14y ago
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.
- Draiken 14y agoIt'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.
- dagw 14y agoAssuming 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.
- sjf 14y agoIf 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.