Search
You can edit the file you see in less by pressing v. From the man page: v Invokes an editor to edit the current file being viewed. The editor is taken from the envir...
GNU Screen and Tmux allow you to run command-line programs on a server, and 'disconnect' from them but let them keep running remotely. This is great if your primary computer is a laptop and it has...
Have a look at Xpra. I only use it locally but it's intended to forward from remote hosts as well.
I noticed in winetricks that it can install windows dlls to the wine folder. It even gives an option to install almost all of them at once. When should someone install these instead of staying with...
If a Debian bug number is referenced in the changelog of an uploaded package, it is automatically closed with a generic message: We believe that the bug you reported is fixed in the latest versi...
Technically, you don't need an /etc/hosts file at all if you have some other form of name resolution available - i.e. DNS. In practice, what you have will work nicely, and could be cut down to jus...
I'd like to hide/dismiss/remove all the notifications that applications like Signal have created. I know I can create notifications with, for example, notify-send -t 10000 "🤖 Here goes my message"...
If I just used find to generate a list of files, then find's -exec argument is usually the way to run some other program on each file found. If you pipe the command to xargs, note that -P n wi...
When running sed through fish, I often encounter a problem with regexes. Many commonly used regex control characters like []{}().+ need to be escaped, even if I type the regex in a single quoted st...
The usual way is to specify an installation location with ./configure --prefix="$HOME/python" ... and then make install after make. If you don't specify a --prefix argument to configure, it ty...
I use Wine to play Windows games. As is well known: Wine is not a sandbox Windows games are proprietary blobs and can contain malware Windows malware can potentially harm Linux through Wine ...
Suppose I have a list of files on standard input. These may be the output of find, cat filelist.txt or something else. How can I run a command on each file in turn?
The best method is to navigate to the folder containing your Flac audio files and use the following 'for' loop: for j in *.flac do ffmpeg -i "$j" -c:a libmp3lame -b:a 128k mp3/"${j%.flac}.mp3" ...
I'm not sure which exact fragment, functionality or aspect is problematic to you. Here I will make points (paragraphs) about what I used to struggle to understand, or about what I suspect may be no...
SIGUSR1 and SIGUSR2 are user-defined signals. Imagine there is a tool designed to do something useful upon receiving one or the other. The problem is the default action for these signals is Term (...
I'd like to debug NetworkManager by stepping through it using GDB. I assume I'll have to compile NetworkManager from source to get debug symbols since file /usr/bin/NetworkManager indicates that th...
Don't answer too many questions Avoid major tag gaps Keep the front page lively. My armchair analysis is that the funnel for this site is like this: User gets linked from internet search ...
This isn't an answer so much as some information related to your question. We have an open GitHub issue to add searching on reactions. We can already search by post type, category, user, score, a...
How can I convert PDF to docx using the terminal or a Linux app? The output docx must be formatted with editable text. Some alternative solutions I've seen online using soffice and abiword output...
It is possible - while being unlikely - that /proc/config.gz does not match the actual kernel configuration. Normally, /proc/config.gz should reflect the kernel configuration truthfully. But wheth...
You might be enlightened by reading the man page for file(1). A brief quotation: This manual page documents version 5.35 of the file command. file tests each argument in an attempt to classify...
Canina's answer contains a good solution if you only want to reach a small number of hosts. But requiring a port[1] for each host you want to reach doesn't scale to many hosts. It also requires yo...
How do I get the URL of the remote repository that pacman uses to download packages? I know that I can tell pacman which server to use by editing /etc/pacman.d/mirrorlist. But in my case, all of t...
How does the list of packages differ from that in a fresh install? The easiest way, if you have the data for it, would probably be to parse the APT logs (particularly /var/log/apt/history.log*...
I've got a Raspberry Pi running Raspbian, which I'd like to reinstall from scratch. However over time I've made many changes to the configuration (installed new packages, changed the name of the de...