Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

From where mv command picks

$
0
0
Hi,

I am using mv command for moving file
Code:

mv /tmp/test /tmp/test_bkp
but I am getting

Code:

change from notrun to 0 failed: Could not find command 'mv'
I am using mv command in puppet language, so generally we use like below

Code:


command => "/usr/bin/awk '/search/ { print $1}' /tmp/test

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.

Viewing all articles
Browse latest Browse all 16232

Trending Articles