Saturday, November 23, 2019

HowTo: Get Ubuntu version from the command line

Method 1
$: cat /etc/os-release | grep PRETTY_NAME

Method 2
$: cat /etc/issue

Method 3
$: lsb_release -d -s

No comments:

Test Code

netsh advfirewall firewall add rule name = "RPC Endpoint Mapper" dir = in action = allow protocol = TCP localport = 135 ...