There are a lot of "Linux command-line cheat sheets" on the internet. But often they simplyonly list the commands, in better casessometimes sort and describe them.
What I am looking for is something I would call a "task based" cheat sheet, where I can "ctrl+f" for what I want to do and find the corresponding command. Since beforehand I don't know how (i.e. the command) to perform the task.
Could someone provide a link or search terms?
Explanation:
When trying to do something on the command-line, I normally use google trying to find a solution. Depending on the complexity of the task, this takes some (unreasonably high) effort and often combining multiple solutions. Also internet access is mandatory for this to work.
I afterwards write this down in a text file with a label next to it e.g. Troubleshoot network issues or Connect usb drive and maybe addattach some tags, in case I forgot the exact wordingsearch terms.
Assuming others to have similar behavior, I expectedExpecting to find suchsimilar files on the internet. But searching, I search for: linux task OR action OR work based cheat sheet, linux howto collection common tasks and similar terms do only return normal cheat sheets or HowTos for single tasks.
EDIT:
https://tldp.org/ mentioned in the comments is a good starting point, but to way to general and exhaustive for quick look up in my opinion.
Let me give an example of Those don't return what I was looking for (it is taken from my notes, so formatting is awful):
kvm
tags: virtualization image hypervisor qemu libvirt
kvm instant run of a vm (only .iso not .img):
kvm -cdrom linuxmint-17.1-mate-64bit.iso -m 1gcheck networks in kvm:
virsh net-list --all
kvm enlarge disk:
- guest shutdown
- Infos about image:
sudo qemu-img info /var/lib/libvirt/images/vmMayHaveDifferentPath.qcow2 - Enlarge image:
sudo qemu-img resize /var/lib/libvirt/images/xyz.qcow2 +2G - Prints: Image resized.
- Check the image:
sudo qemu-img check -r all /path/to/vm.qcow2 - Checking info again is recommended
Means, I can just searchlook for "kvm" and find a "mini howto" on how to do common tasks. Only the options needed are specified, no lengthy list of "you might need thoose commands too" or whatever. Still they are connected, so I know I have to perform the check after resizing.