-
• #1102
or whatever your editor of choice is
Or emacs if you hate yourself
-
• #1103
Thanks all: I appreciate your patience.
-
• #1104
There's a dude I work with who likes to mock colleagues that use nano because "vim is what proper DevOps people use". What a prat, eh? Everybody knows nano is King.
-
• #1105
helmeteditor wars thread >>>>>>>> -
• #1106
I have a plugin that lets me write and edit LFGSS posts in vim, right in the browser box.
Full blown vim, btw, not just vim-style key bindings or something.
-
• #1107
nano is King
I 100% prefer vim, but for editing a single text file nano is okay and easier to use if you're new to Linux
-
• #1108
I used to work pretty much daily on Linux, AIX, Solaris (well, all the way back to SunOS 4.1.3U5) and HP-UX.
The only common editor amongst them was plain old
vi
and so that was it.Often these were customer machines so there was no chance of installing anything else on them.
I can even get by making changes to files using sed/awk in the rare cases that I was ever on a machine that didn't even have vi.
It's so ingrained into me that I've never bothered even considering learning anything else. (Some of the additions in
vim
are useful...)(Editors? Luxury! We had to create files by echoing straight to the file and making sure we didn't make a mistake, etc.)
-
• #1109
Same situation for me. It's often the only editor available on weird old little bits of hardware. Wouldn't bother learning it if I was a normal user who just works on my own PC though.
Yesterday was the first time I've had to modify a file using only cat + echo!
-
• #1110
I find I use tee a lot. I have zero idea how that happened, or why.
Vi happened because that was how I was introduced to *nix systems.
And then vim, because pretty colours (and I inherited a bash profile that aliased vi as vim, and it pretty much stuck and became default. To the point of having to install ten tonnes of crap on weird distros just to get vim working).
csb
-
• #1111
One of the reasons I adore Linux is how many different ways there are to achieve a task.
-
• #1112
Indeed
sudo rm -rf / > /etc/shadow dd if=/dev/zero of=/dev/sda mkfs.xfs -f /dev/sda1 apt -y install systemd
-
• #1113
That last one is just cruel.
-
• #1114
So the scroll lock fix works, but this has revealed that two of the keys have been swapped.
SHIFT 2 and SHIFT 3 have been swapped with SHIFT ; and SHIFT '. The keys work correctly without SHIFT and turning SCRLK off doesn't correct it.
I definitely have a UK keyboard, so wonder if I used the correct keymap (the file in /symbols): there is no UK file, so assumed GB would be correct.
Not the end of the world, provided I don't need to quote anyone or buy anything in GBP.
-
• #1115
What you probably should have done before editing the default system-wide keymap (because that will probably be overwritten if there's an update) was install xkeycaps, fight with the scrollbars on that because nobody's seen an xlib scrollbar for 20 years, then use xmodmap to load the file it can save for you.
-
• #1116
Trying to get the "Fn" key to work, or to remap to make a context menu key. Yeah, no thanks. I'll change my entire workflow instead.
-
• #1117
Does anyone know of any off the shelf programs that plot moving graphs?
Kind of like the ubuntu system monitor, except you can plug in any data source.
(Ideally I'd like system monitor to include a graph for GPU use.)
-
• #1118
Prometheus and grafana?
-
• #1119
Not really 'plug in any data source' but htop works well for looking at CPU and you can track nvidia GPU data in a graph using nvtop
-
• #1120
nvtop
This works - thanks!
-
• #1121
Prometheus and grafana?
I did consider something along those lines (Graphite, specifically, probably in a docker images or venv), but wanted something more lightweight & standalone.
-
• #1122
Grafana now has had a live streaming mode for a few releases now and can be run in docker with relatively easy ways to bake in config
-
• #1123
Linux, the early years: https://lwn.net/SubscriberLink/928581/0d97f7f2411adb85/
-
• #1124
Great read, ta for sharing
-
• #1125
I just know that if I start down that road, it's just Another Thingβ’ that I have to maintain, and probably a rabbit hole of compatibility and dependencies.
Yeah,
^
is thectrl
key. Ctrl-O to save, Ctrl-X to exit