linux - mv wrapped inside an if in shell scripting -
How do you do this? What am I thinking like this .. also, do I need to work and work? Or just one of them
if [MV 1.txt & gt; 2.txt == '0'] then resonate "success" and then resonate "failure"
will be enough in the bus:
mv 1.txt 2.txt & amp; Amp; Echo "success" || If you want to use traditional if / fi> If using mv 1.txt 2, then echo "failure" < / Pre> .txt then echo "success" and "failure" to echo
Comments
Post a Comment