Skip to content

u/djrollins

In this archive from Aug 2017 to May 2019

0
posts
7
comments
0
media
60
score

Top comments

!! is substituted by the previous command, so you can just use sudo !! to re-run the command as sudo.

Also, 'readline' is a full-blown line editor and has keybindings that are very similar to emacs. C-a will move the cursor to the start of the line so you can add `sudo` easily that way too. See C-e, C-w, M-f and M-b as well.

There is C-r which allows you to type to search your history.

There's also C-x C-e to open the command line in your $EDITOR if you need to make heavy edits

Taking the time to learn your tools in depth can really save you a tonne of time in the long run.

I only ever use the up arrow key if I want to the previous command again as is (because it failed to due to an external error or something).

19 points

Not OP, but I do the same thing. I'd appreciate any solutions to the following reasons as to why I do this.

using grub

I couldn't easily find anything for systemd-boot that was as simple and reliable as grub-mkconfig with os-prober at finding my other bootable partitions.

using separate ESP and /boot

I wanted /boot on a btrfs partition so I could snapshot it, but EFI only runs on fat32 (I think?). I therefore mount a small fat32 partition onto /boot/efi to act as the ESP whilst keeping the majority of /boot snapshottable.

Thoughts?

18 points

I have been having issues with NetworkManager as well, it would initially connect fine, but after a few minutes I will no longer be able to visit any sites or ping any addresses. NetworkManager would still claim to be connected and there would be no errors in journalctl or dmseg.

I have removed NetworkManager and gone back to using a basic netctl config (use wifi-menu if you prefer) and have had no issues since.

It could be a bug in NetworkManager, but I haven't reported it yet. If this also works for you let me know and I'll post to their bug-tracker.

5 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.