On Tuesday, 17 December 2024 12:09:37 GMT+3 Ruslan Hihin wrote: [...] > `uname -r | egrep '^[^-]+-[^-]+-[^-]+$' | cut -d- -f2'` подойдет? egrep: warning: egrep is obsolescent; using grep -E для начала. -- Regards, Sergey.