Hi,
I am using mv command for moving file
but I am getting
I am using mv command in puppet language, so generally we use like below
So when I use same for mv command like below
command => "/usr/bin/mv /tmp/test /tmp/test_bkp"
I am getting error.
I checked /usr/bin but I don't see mv command so where this "mv" command picks from and which path.
I am using mv command for moving file
Code:
mv /tmp/test /tmp/test_bkp
Code:
change from notrun to 0 failed: Could not find command 'mv'
Code:
command => "/usr/bin/awk '/search/ { print $1}' /tmp/test
command => "/usr/bin/mv /tmp/test /tmp/test_bkp"
I am getting error.
I checked /usr/bin but I don't see mv command so where this "mv" command picks from and which path.