Skip to content

Instantly share code, notes, and snippets.

View AdityaGarg8's full-sized avatar

Aditya Garg AdityaGarg8

  • India
View GitHub Profile

Miscellaneous files regarding Ad Blocking

This guide shall help you out in getting silent boot experience similar to macOS and Windows on Ubuntu on T2 Macs.

  1. On the terminal, run

    sudo gnome-text-editor /etc/default/grub
  2. Change GRUB_CMDLINE_LINUX_DEFAULT="" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash". If this is already done then directly follow step 4.

  3. Run

AdityaGarg8 /
Last active January 20, 2023 13:07
Get SMART status of your Apple SSD on Linux

Now it is possible of get basic SMART information about your Apple SSD like data units written on Linux. In order to get this information :-

  1. Install the smartmontools package. Eg on Ubuntu run sudo apt-get install smartmontools
  2. Run sudo smartctl /dev/nvme0 -x

The information shall be displayed on the terminal.