comment
What is the purpose of the lost+found folder in Linux and Unix?
I
$ sudo rmdir lost+found in a few places and recreated it with $ mklost+found (without using sudo) and now I no longer have permission denied errors when using find which ends up being a unexpected benefit. comment
What is the purpose of the lost+found folder in Linux and Unix?
To those complaining of permission denied errors due to lost+found: I have a few external disks where I removed lost+found using sudo and then recreated it with
$ mklost+found (without sudo). The permissions are now of my user and I get no permission denied errors using find. comment
xmodmap lost after sleep
sh is POSIX compliant and a subset of bash. In some systems it appears sh would point to bash although nowadays, at least in Ubuntu, sh is pointing to dash instead. $ file -h /bin/sh returns /bin/sh: symbolic link to dash in my case. The reason I used sh -c is that there is no guarantee that the path \bin\bash -c exists although in practice it usually does. (Related: stackoverflow.com/q/5725296/3715151) comment
xmodmap lost after sleep
I like this solution. I use numpad-zero as control and created a custom shortcut in Ubuntu with this key and the command
sh -c 'xmodmap ~/.Xmodmap && notify-send Xmodmap "Xmodmap is active"'. First time I click numpad-zero it enables Xmodmap and the second time it works as control. One issue is that having directly xmodmap ~/.Xmodmap as the command wasn't working for me because it always enabled Xmodmap instead of switching to ctrl on 2nd click, I had to wrap it with the sh -c ''. awarded
comment
How to decompress jsonlz4 files (Firefox bookmark backups) using the command line?
I think
lz4json is enough. I don't have lz4 installed and lz4jsoncat still decompresses the file. comment
Permissions/ownership of /usr/local/bin
In Ubuntu these can be added to
~/.local/bin. The directory wasn't in my path, but once I placed a binary there and rebooted it appeared on the path without having to do anything. comment
How to split window vertically in GNU Screen?
Note that to close a region it's capital
X meaning ctrl-a shift-x. If we do ctrl-a x (small x) it actually causes the screen to lock. comment
Backing up to a local SSD taking a lot longer than expected
I've been using rsync to backup my data to another machine over ssh and decided to give deja-dup a try and can confirm it feels slower (uses duplicity under the hood). App also needs to be improved: asks for external disk password, if I get it wrong it doesn't ask again; when backup is being made there is no feedback to the user of progress; had Trash in my ignore list and deja-dup still wanted to back it up;etc. I think it's a great idea to have a simple tool for less tech-savvy users but it still needs work.
comment
diskio/diskiograph in Conky only understands physical device names?
In Ubuntu 20.04 using
${diskio_read /dev/disk/by-id/<some-disk-id>} works. awarded
comment
Split a file into two
split is what I was looking for comment
Where should a local user executable be placed (under $HOME)?
~/.local/bin – This is the way. awarded
awarded
comment
How to decompress jsonlz4 files (Firefox bookmark backups) using the command line?
Wasn't working for me until I did
$ pip install lz4. awarded
comment
Which distributions have $HOME/.local/bin in $PATH?
Works in Ubuntu 18.04.
comment
listing files with pattern with starting and ending
$ ls ../*.a worked for me (list archives in parent dir). 
