JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
You can use the -version parameter for the java command like below.
java -version
Reference: https://www.poftut.com/check-java-version/
You can use the cut command which will select the specified column.
$cat /etc/passwd | cut -d : -f 1
Reference:https://www.poftut.com/list-users-groups-linux/
It is easy as just use the following command. For more details take a look https://www.poftut.com/list-repository-packages-yum-command/
I want to match multiple search terms in awk with a single command. How ca i specify multiple search terms to math?