Created
August 13, 2017 03:05
-
-
Save allenaven/7dad1a8c4e446855c5a7f8e6c96b639b to your computer and use it in GitHub Desktop.
Linux/Bash shell commands and snippets to make command line life easier
This file contains 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
# Get kernel version | |
uname -a | |
# Get distro version: Ubuntu | |
lsb_release -a | |
# Most releases store distro version in a file: | |
cat /etc/fedora-release | |
cat /etc/debian_version | |
cat /etc/centos-release # Or something similar, look in /etc for your distro name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment