mercredi 15 avril 2015

shell script - diff command - "diff: missing operand after `diff' "


Vote count:

0




In diff command am getting following error. Kindly assist how can I specify I want to see difference in two files:



#current_unavail=ranjith

root@iitmserver1 tmp]# cat /tmp/ran
ranjith
[root@iitmserver1 tmp]#

#test=$(cat /tmp/ran)


error which I am getting



[root@iitmserver1 tmp]# diff `$current_unavail` `$test`
diff: missing operand after `diff'
diff: Try `diff --help' for more information.
[root@iitmserver1 tmp]#


asked 1 min ago







shell script - diff command - "diff: missing operand after `diff' "

Aucun commentaire:

Enregistrer un commentaire