#! /bin/bash # this function prints the version number of the Linux kernel. # The version is retrieved from the command "uname -srm". # The output of this command is of this format: "Linux ..--generic x86_64" # This function will return .. dist_ver="`uname -srm | cut -d ' ' -f2 | cut -d '-' -f1`" echo $dist_ver