{"id":17061879,"url":"https://github.com/phlak/linux-machine-id","last_synced_at":"2026-04-14T04:01:56.916Z","repository":{"id":66719347,"uuid":"214320269","full_name":"PHLAK/linux-machine-id","owner":"PHLAK","description":"Get the unique machine ID on Linux.","archived":false,"fork":false,"pushed_at":"2020-09-25T15:36:41.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T08:30:27.638Z","etag":null,"topics":["bash","linux","machine-id","unique-id"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PHLAK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-11T01:50:41.000Z","updated_at":"2019-10-11T05:57:15.000Z","dependencies_parsed_at":"2023-03-30T04:01:54.596Z","dependency_job_id":null,"html_url":"https://github.com/PHLAK/linux-machine-id","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PHLAK/linux-machine-id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Flinux-machine-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Flinux-machine-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Flinux-machine-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Flinux-machine-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PHLAK","download_url":"https://codeload.github.com/PHLAK/linux-machine-id/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHLAK%2Flinux-machine-id/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","linux","machine-id","unique-id"],"created_at":"2024-10-14T10:48:30.084Z","updated_at":"2026-04-14T04:01:56.911Z","avatar_url":"https://github.com/PHLAK.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Linux Machine ID\n================\n\nGet the unique machine ID on Linux.\n\nThis script has been tested with:\n\n  - Ubuntu \u003e= 18.04\n  - Debian \u003e= 10\n  - Fedora \u003e= 30\n\nFor more information on Linux machine IDs see\n\u003chttp://man7.org/linux/man-pages/man5/machine-id.5.html\u003e\n\nInstallation\n------------\n\n### Quick Install\n\n    curl --silent https://raw.githubusercontent.com/PHLAK/linux-machine-id/master/machine-id \\\n    | sudo install /dev/stdin /usr/local/bin/machine-id\n\n### Manual Installation\n\n  1. Download or clone this repo\n  2. Copy `machine-id` to a location on your `$PATH` (e.g. `/usr/local/bin`)\n  3. Ensure `machine-id` is executable\n\n      `chmod +x /usr/local/bin/machine-id`\n\nUsage\n-----\n\nAfter following the instructions above you can run `machine-id` from a terminal\nto output a unique machine ID in various formats.\n\n    $ machine-id\n    8654c188be4386abe2ae2c0e0a682681f4cf2b33d71ac6cb8f6fba50d09735c8\n\nBy default the command returns a sha256 hash of the device ID found in\n`/etc/machine-id`. You can use the `--raw` option to return the actual machine\nID and the `--short` option to get the short version of the ID.\n\n    Usage: machine-id [OPTION]...\n    Get the machine's unique ID.\n\n    OPTIONS:\n    -h, --help     Print this help dialogue\n    -r, --raw      Retuns the raw machine ID\n    -s, --short    Return a short (7 character) ID\n\nChangelog\n---------\n\nA list of changes can be found on the [GitHub Releases](https://github.com/PHLAK/linux-machine-id/releases) page.\n\nTroubleshooting\n---------------\n\nPlease report bugs to the [GitHub Issue Tracker](https://github.com/PHLAK/linux-machine-id/issues).\n\nCopyright\n---------\n\nThis project is licensed under the [MIT License](https://github.com/PHLAK/linux-machine-id/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlak%2Flinux-machine-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphlak%2Flinux-machine-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlak%2Flinux-machine-id/lists"}