News for hackers. Stuff that matters.
Re:GNU nano is my editor of choice by relax88 on Friday August 13, 2021 @06:15PM (#28175326)
If you’ve never logged into a Linux machine without nano installed, then you probably haven’t logged into that many flavours of Linux machine.

I agree this is pretty much a non issue for the average developer, but those of us who work on network infrastructure, as red-team hackers, or do any work on embedded systems can attest to how much of a pain it would be to not know how to use vi/vim.

Re:GNU nano is my editor of choice by koolba on Friday August 13, 2021 @07:04PM (#28175912)
This is even more common in the world of containers where “nice to have just for debugging” get omitted.

You haven’t lived till you have to edit using only sed.

Re:GNU nano is my editor of choice by KronisLV on Friday August 13, 2021 @07:20PM (#28176061)
There is definitely something to be said about having minimalistic container images for security and smaller sizes...

But not having a basic text editor that is probably a few hundred KB feels a bit silly, especially given how many environment dependencies usually get packaged into containers anyways.

That's like not including any sort of a shell in your container and wondering why people are having troubles with debugging.

Personally, i think that just basing container images on something like Alpine, Debian or even Ubuntu images is good enough because those are stripped down enough already for the most part.

Re:GNU nano is my editor of choice by koolba on Friday August 13, 2021 @10:50PM (#28177396)
Of course you add a sane editor after it happens. But that first time…
Re:GNU nano is my editor of choice by trissylegs on Friday August 13, 2021 @07:37PM (#28176208)
I did build a arch Linux install using cat <<EOF, grep and sed. But golly it gets tedious
Re:GNU nano is my editor of choice by relax88 on Friday August 13, 2021 @09:00PM (#28176766)
Sounds like pain, but also a means to getting better at sed.
Re:GNU nano is my editor of choice by bakul on Friday August 13, 2021 @10:16PM (#28177206)
ed.