Skip to content
This repository has been archived by the owner. It is now read-only.
get an UUID for your harddrive (md5sum)
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
diskid

README.md

diskid

get an UUID for your harddrive (md5sum)

Installation

$ git clone [repo_url]

$ cd $repo

$ sudo cp diskid /usr/bin/

Usage

$ sudo diskid

Example

if [ "$(diskid)" == "b1a8a016f92cb93f12a9567fb3ce363a" ]
  then
    setxkbmap br
fi
You can’t perform that action at this time.