Skip to content

Instantly share code, notes, and snippets.

View ecaminero's full-sized avatar
🌴
On vacation

ecaminero ecaminero

🌴
On vacation
  • https://enteldigital.cl
  • Santiago, Chile
View GitHub Profile

List internal kernel device name

this script allows you to list hard drives on a computer

disks=$(lsblk -pdo +SCHED,KNAME | awk '{print $1}')

Happy commands

# Useful for SSD on GCP
### Keybase proof
I hereby claim:
* I am ecaminero on github.
* I am ecaminero (https://keybase.io/ecaminero) on keybase.
* I have a public key ASCpzFGnCvR0gjWd9-PmNdOIBmhfwyiGcrbs9zxPF0cqYAo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ecaminero on github.
  • I am ecaminero (https://keybase.io/ecaminero) on keybase.
  • I have a public key ASBYumwPJt9j9YRp22KJwcGV2AlDie4kgDRWekh5SvUS8wo

To claim this, I am signing this object: