[ec2-user@ip- *]$ * : * : command not found PATH code example
Example 1: [ec2-user@ip- *]$ * : * : command not found PATH
export PATH=/usr/local/bin:/usr/bin:/bin:$HOME/bin
Example 2: [ec2-user@ip- *]$ * : * : command not found
export PATH=/usr/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/local/bin:/opt/aws/bin:/root/bin:/home/ec2-user/jdk1.7.0_80/bin:/home/ec2-user/apache-maven-3.5.2/bin:/home/ec2-user/apache-ant-1.9.14/bin
Example 3: [ec2-user@ip- *]$ * : * : command not found
export M2_HOME=/home/ec2-user/apache-maven-3.6.0
export JAVA_HOME=/home/ec2-user/jdk1.8.0_151
export ANT_HOME=/home/ec2-user/apache-ant-1.9.13
export PATH=/home/ec2-user/jdk1.7.0_80/bin:/home/ec2-user/apache-maven-3.6.0/bin
export JBOSS_HOME=target/wildfly-run/wildfly-11.0.0.Final
Example 4: [ec2-user@ip- *]$ * : * : command not found PATH
export PATH=/usr/local/bin:/usr/bin:/bin:$HOME/bin
Example 5: [ec2-user@ip- *]$ * : * : command not found PATH
export PATH=/usr/local/bin:/usr/bin:/bin:$HOME/bin