Horje
comparing file content bash Code Example
comparing file content bash
if diff -u "$file1" "$file2"; then
  echo "$file1 and $file2 have identical contents"
else
  : # the differences between the files have been listed
fi
how compare 2 file size in bash
I=`wc -c $i | cut -d' ' -f1`
J=`wc -c $j | cut -d' ' -f1`
if [ $I -eq $J ]
then
      echo $i $j >> $1.pares
fi




Shell

Related
github desktop arch linux Code Example github desktop arch linux Code Example
vagrant run paralel Code Example vagrant run paralel Code Example
sed add word to end of line Code Example sed add word to end of line Code Example
linux terminal speed test Code Example linux terminal speed test Code Example
powershell open cmd Code Example powershell open cmd Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13