Skip to content

Instantly share code, notes, and snippets.

View mohammed-bamatraf's full-sized avatar

Mohammed Bamatraf mohammed-bamatraf

  • Jisr
  • Yemen - Hadhramaut - Mukalla
  • 05:56 (UTC +03:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mohammed-bamatraf on github.
  • I am mhmds1 (https://keybase.io/mhmds1) on keybase.
  • I have a public key ASC6NdjoOesXUp-XCPt3qzv3AuHGR4tmLtwQhQyAuB71xAo

To claim this, I am signing this object:

@mohammed-bamatraf
mohammed-bamatraf / cleaner.sh.sh
Last active February 28, 2023 06:29
Ubuntu cleaner
#!/bin/bash
#Remove old Kernels
uname -a
IN_USE=$(uname -a | awk '{ print $3 }')
echo "Your in use kernel is $IN_USE"
OLD_KERNELS=$(
dpkg --list |
grep -v "$IN_USE" |