Tag: delete
-
Proxmox KVM virtual machine: Cannot delete due to missing storage
Today we encountered a situation where a Proxmox system’s KVM virtual machine refused to delete after the storage volume that it’s virtual HDD resided on was lost; trying to delete the KVM from the web GUI resulted in the following error: TASK ERROR: storage ‘proxmoxHDD’ does not exists Attempting to delete it from…
-
How to delete the rest of a line after the cursor in vim?
Vim has a host of really useful shortcuts; the one we are looking at today allows you to delete the text on the same line after the cursor position. To do this, move the cursor to the desired position and hit: shift+d In other words, a capital D. We don’t need a…
-
Ubuntu: How to delete a user
In Ubuntu 12.04 and 12.10, to delete an additional user you have created, use the following: sudo deluser [username] By example, if we wanted to delete a user we created called “test”, we would run: sudo deluser test Which gives: Removing user `test’ … Warning: group `test’ has no…
-
How to remove/delete old or unused kernels in Ubuntu
If you have upgraded your kernel you will have found that Ubuntu keeps the older ones around, which can be handy if something breaks in the newer kernel and you have to boot from your old system. Over time, however, these can add up in terms of the amount of space consumed – at…