798
you are viewing a single comment's thread
view the rest of the comments
[-] jmcs@discuss.tchncs.de 11 points 2 months ago

Easy is relative. What are you trying to do? Replace a value in an yaml file? Then nano is easier. Trying to refactor a business critical perl/brainfuck polyglot script in production? Then you probably want to use vim (or emacs if you are one of those people)

[-] spongeborgcubepants@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

Replacing a value in a config file is still easier in vim due to e.g. ciw or ci" being a thing.

[-] notfromhere@lemmy.ml 1 points 2 months ago

Honestly, roll back to previous release for production and use best IDE your developers are used to on their local machines, test the fix in a non production environment then release to prod. When is editing business critical scripts in production really needed?

[-] jmcs@discuss.tchncs.de 2 points 2 months ago

It was a joke to make the point that vim can be the easiest tool to use if you are trying to do a complex task.

[-] notfromhere@lemmy.ml 1 points 2 months ago

I’m a bit slow on the uptake there haha. I started with vi and moved over to nano at some point and never looked back. I can refactor code in production with the best of them. There’s still some tricks I’ve seen done in vi that amazes me that I haven’t tried to figure out in nano, but for the most part it’s fairly easy to use to do nearly anything in. Even supports color for supported files, YAML, etc.

[-] grysbok@lemmy.sdf.org 1 points 2 months ago

Walk someone else through editing a config file on the command-line over screenshare? Nano. Omg nano is your friend.

this post was submitted on 02 Sep 2024
798 points (93.6% liked)

Linux

47998 readers
1195 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS