Created
August 19, 2022 16:21
-
-
Save sanzaru/706f1ea0d43a214e4ef0960e73b7dc70 to your computer and use it in GitHub Desktop.
RaspberryPi: Print the model and revision bash script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
tail -n 1 /proc/cpuinfo | cut -d ":" -f 2 | sed -e 's/^[[:space:]]*//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment