Search
How do I make my computer request a new IP from DHCP? I am using Arch with NetworkManager.
Hello everyone, I am encountering an issue when running pytest in my virtual environment. Although I have installed the required modules in my virtual environment using pip, I am still getting a M...
My thoughts on the matter are clear from the question, but I'll add some example topics that could be covered by this "basics compendium": A "curriculum" of sorts that lists all the basic topics...
I tried to think of some for a while, but couldn't find any good ones. That said, there's plenty of programs I don't know. For reference: $ echo -en "hello\nworld" | tee 1.txt | bat -A ───────┬──...
I am currently ripping a bunch of DVDs. Some are encrypted, and some are not. My method for ripping a DVD depends on whether or not it is encrypted, so I am looking for a command-line method to det...
I stopped using a former Q&A Network of Sites because of their poor political choices. Before I left, I noticed a number of people who also objected to those politics renaming their usernames ...
For a particular use case, I need to be able to set up a Linux host (specifically Debian) to use a VPN tunnel for routing outgoing connections, but still allow incoming connections outside of that ...
Since asking this question I've updated to 12.2 (Monterey), but it's the same problem on either. I was nervous about blowing away my existing brew installation, even if I first captured a list of ...
While there doesn't seem to be a general command like notify-send to hide all notifications, we can use features of our specific notification daemon, like mako in this case, to hide all notificatio...
Looking at a few system daemons on my Fedora 36 machine; avahi, rpcbind & chrony. avahi & chrony seem to both do the creating of their /run/<program> directories, rpcbind seems to b...
I had a nightly cronjob start throwing errors about "inappropriate permissions..." rsync: [generator] failed to set permissions on "/data2/home/redacted/alsoredacted/opt/dell/srvadmin/var/log/open...
Use pavucontrol-qt It can be used to investigate configuration of output - in my case comparing what pavucontrol shown with and without docking station indicated that dock was recognized as "USB h...
You can find a list of options in man xkeyboard-config. Under the section "key to choose the 3rd level" is the one you are after: lv3:ralt_switch_multikey Right Alt; Shift+Right Alt as Compo...
As we have set up communities here on the Codidact network we've been appointing temporary moderators. Ultimately, of course, we want each community to choose its own moderators; we've been doing ...
I would like to also nominate Quasímodo Although the community doesn't have a lot of content yet, Quasímodo has contributed generally well-received content on several subject matters (both as qu...
Why is libvkd3d1 not upgrading on my system? (lubuntu 20.04 LTS) When I run sudo apt update, apt flags libvkd3d1 and libvkd3d1:i386 as upgradable, but sudo apt upgrade does nothing and reports tha...
The pager less(1) less(1) is the usual pager nowadays; you would do well learning to use it. It's also used for paging the manual pages, in most systems. The most common operation is searching,...
You can use rename for this. Many distributions package it; for example, it's apt-get install rename in Debian. In normal usage, it is used to apply an arbitrary regular expression substitution ex...
You could try and convince Linux kernel maintainers, but they are reticent to that. I wonder what they'll do after POSIX.1-202x (Issue 8) possibly will forbid those. Maybe you could patch your ke...
How to apply a logical not to a shell command, e.g. in a Bash script? So if the command exited with 0 (success) I would like it to be changed to a non-zero value, and if it exited with a non-zero ...
You probably need to change the permissions on the file to make it executable. You can do that with chmod: chmod +x change-xkbmap.sh To verify, try running ./change-xkbmap.sh in a terminal with...
An easy one-liner in POSIX-compatible shells: for f in *-min.jpg-*; do mv -- "$f" "${f%-*}"; done The only (mildly) tricky concept here is ${f%-*}, which expands to $f minus the shortest suffix...
Specific answer: Use gvim -f. General answer: Use the non-forking mode of your editor, i.e. if you run it in a terminal, it should wait until the editor is closed to return back control to you. E...
Is there a difference between these two tags? shell shell-scripting In a sense the first could be a bigger category. E.g. If someone wants to create a new shell, then they may have questions...
It depends on how much sensitive they are. I have three classes. 1) Very sensitive directories Partitions For my ~/.ssh/, ~/.password-store/, ~/.gnupg/, and ~/.abook/, I have a drive with 4 p...