Skip to main content
deleted 1107 characters in body; edited title
Source Link
Paul Smith
  • 263
  • 1
  • 2
  • 9

"Task based" linux Task focused command-line cheat sheet for linux

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 1g

  • check 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.

"Task based" linux command-line cheat sheet

There are a lot of "Linux command-line cheat sheets" on the internet. But often they simply list the commands, in better cases sort and describe them.

What I am looking for is something I would call a "task based" cheat sheet.

Could someone provide a link or search terms?

Explanation:

When trying to do something on the command-line, I normally google trying to find a solution. Depending on the complexity of the task, this takes some effort and often combining multiple solutions.

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 add some tags, in case I forgot the exact wording.

Assuming others to have similar behavior, I expected to find such files on the internet. But searching 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 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 1g

  • check 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 search 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.

Task focused command-line cheat sheet for linux

There are a lot of "Linux command-line cheat sheets" on the internet. But often they only list the commands, sometimes 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 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 and attach some search terms.

Expecting to find similar files on the internet, I search for: linux task OR action OR work based cheat sheet, linux howto collection common tasks. Those don't return what I look for.

added 944 characters in body
Source Link
Paul Smith
  • 263
  • 1
  • 2
  • 9

There are a lot of "Linux command-line cheat sheets" on the internet. But often they simply list the commands, in better cases sort and describe them.

What I am looking for is something I would call a "task based" cheat sheet.

Could someone provide a link or search terms?

Explanation:

When trying to do something on the command-line, I normally google trying to find a solution. Depending on the complexity of the task, this takes some effort and often combining multiple solutions.

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 add some tags, in case I forgot the exact wording.

Assuming others to have similar behavior, I expected to find such files on the internet. But searching for: linux task OR action OR work based cheat sheet, linux howto collection common tasks and similar terms doesdo 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 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 1g

  • check 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 search 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.

There are a lot of "Linux command-line cheat sheets" on the internet. But often they simply list the commands, in better cases sort and describe them.

What I am looking for is something I would call a "task based" cheat sheet.

Could someone provide a link or search terms?

Explanation:

When trying to do something on the command-line, I normally google trying to find a solution. Depending on the complexity of the task, this takes some effort and often combining multiple solutions.

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 add some tags, in case I forgot the exact wording.

Assuming others to have similar behavior, I expected to find such files on the internet. But searching for: linux task OR action OR work based cheat sheet and similar terms does only return normal cheat sheets.

There are a lot of "Linux command-line cheat sheets" on the internet. But often they simply list the commands, in better cases sort and describe them.

What I am looking for is something I would call a "task based" cheat sheet.

Could someone provide a link or search terms?

Explanation:

When trying to do something on the command-line, I normally google trying to find a solution. Depending on the complexity of the task, this takes some effort and often combining multiple solutions.

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 add some tags, in case I forgot the exact wording.

Assuming others to have similar behavior, I expected to find such files on the internet. But searching 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 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 1g

  • check 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 search 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.

Source Link
Paul Smith
  • 263
  • 1
  • 2
  • 9

"Task based" linux command-line cheat sheet

There are a lot of "Linux command-line cheat sheets" on the internet. But often they simply list the commands, in better cases sort and describe them.

What I am looking for is something I would call a "task based" cheat sheet.

Could someone provide a link or search terms?

Explanation:

When trying to do something on the command-line, I normally google trying to find a solution. Depending on the complexity of the task, this takes some effort and often combining multiple solutions.

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 add some tags, in case I forgot the exact wording.

Assuming others to have similar behavior, I expected to find such files on the internet. But searching for: linux task OR action OR work based cheat sheet and similar terms does only return normal cheat sheets.