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:

QNX: Running a function at specific interval using timer interrupt

#include <iostream> #include <csignal> #include <ctime> #include <cerrno> #include <cstring> #include <unis...