Posts by celtschk
There are keyboard shortcuts for navigation. Unfortunately they don't seem to be documented in help (at least I couldn't find an entry there), but you can see a list by typing ?. The red frame is ...
On a Linux system, a lot of files are installed from packages, many of which have different licenses (and sometimes different licenses for different files in the package). If I want to figure out ...
The solution is to use an associative array to store what you've already seen: #!/bin/bash unset seen declare -A seen for arg in "$@" do if [[ -z "${seen[$arg]}" ]] then ...
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...
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...
When exploring the commands from this answer to my previous question, I found that the ist of packages includes a lot that were automatically installed due to dependencies. Obviously I'm interested...
From what I understand, you can pass a command to the xinit program that will be executed instead of .xinitrc. So you might be able to use startx sh -c 'xrandr-invert-colors; exec "$HOME/.xinitrc"...