6 lines
103 B
Bash
Executable File
6 lines
103 B
Bash
Executable File
#!/bin/sh
|
|
|
|
kern="$(uname -r | sed -re 's/(^[0-9]*\.[0-9]*\.[0-9]*-[0-9]*)(.*)/\1/')"
|
|
echo -e "$kern "
|
|
|