i have installed maven on linux amazon instance (redhat) , but cli command does not give expected result.
details of the maven installed :
[[ec2-user@ip-172-31-6-83 bin]$ ls -ltrh
total 32K
-rwxr-xr-x. 1 501 games 1.5K Oct 24 18:38 mvnyjp
-rw-r--r--. 1 501 games 1.7K Oct 24 18:38 mvnDebug.cmd
-rwxr-xr-x. 1 501 games 1.5K Oct 24 18:38 mvnDebug
-rw-r--r--. 1 501 games 6.2K Oct 24 18:38 mvn.cmd
-rwxr-xr-x. 1 501 games 5.7K Oct 24 18:38 mvn
-rw-r--r--. 1 501 games 228 Oct 24 18:38 m2.conf
[ec2-user@ip-172-31-6-83 bin]$ mvn -version
-bash: mvn: command not found
[ec2-user@ip-172-31-6-83 bin]$