79416294

Date: 2025-02-05 22:04:05
Score: 2.5
Natty:
Report link

Determine the release version of Red Hat or Rocky.

awk '{match($0, "[0-9][.][0-9]+");print substr($0,RSTART, RLENGTH)}' /etc/redhat-release

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: John Pietrangelo