Wednesday, December 2, 2015

Linux: Compare if two files are the same

Quick script I wrote in my .bashrc to check if two files are the same:

#md5sum
function md5comp()
{
    a=$(md5sum $1 | awk '{print $1}')
    b=$(md5sum $2 | awk '{print $1}')
    echo "Comparing $1 and $2"
    [ "$a" = "$b" ] && echo  "Equal" || echo "Not Equal"
}

Usage:
$ md5comp filea.txt fileb.txt
Comparing filea.txt and fileb.txt
Equal

24 comments:

Johna said...

Diff works on ascii, this is a good option to be independent of file type

Admin said...

Texas Open - 2017, Live, Stream, Watch, Golf, Leaderboard, Valero, Texas, Open https://texas-open.org/

Texas Open

Texas Open 2017

2017 Texas Open

The Texas Open

The Texas Open 2017

Texas Open Live

Texas Open Live Stream

Watch Texas Open

Watch Texas Open Live

Watch Texas Open Online

Watch Watch Texas Open Live Stream

Valero Texas Open

Valero Texas Open 2017

2017 Valero Texas Open

Valero Texas Open Live

Valero Texas Open Live Stream

The Valero Texas Open

The Valero Texas Open 2017

Watch Valero Texas Open

Watch Valero Texas Open Live

Watch Valero Texas Open Online

Texas Open Golf

Valero Texas Open Golf

Golf Live

Golf Live Stream

Watch Golf

Watch Golf Live

Watch Golf Live Online

Admin said...

Valero Texas Open - 2017, Live, Stream, PGA, Tour, Leaderboard, The, Valero, Texas, Open, Golf https://valerotexas-open.org/

Valero Texas Open

Valero Texas Open 2017

2017 Valero Texas Open

Valero Texas Open Live

Valero Texas Open Live Stream

Watch Valero Texas Open

Watch Valero Texas Open Live

Watch Valero Texas Open Online

Watch Valero Texas Open Live Stream

The Valero Texas Open

The Valero Texas Open 2017

Valero Texas Open Golf

Valero Texas Open Golf Tournament

Texas Open

Texas Open 2017

Texas Open Golf

Texas Open Golf Tournament

Texas Open Live

Texas Open Live Stream

Watch Texas Open

Watch Texas Open Live

Golf Live

Golf Live Stream

Watch Golf Live

Admin said...

Coachella - Coachella 2017, Live, Stream, Watch, The Coachella Festival, Concert, Lineup https://coachella2017.org/

Coachella

Coachella 2017

2017 Coachella

Coachella

Coachella Live

Coachella Live Stream

Watch Coachella

Watch Coachella Live

Watch Coachella Online

Watch Coachella Live Online

Coachella Festival

Coachella Festival 2017

2017 Coachella Festival

The Coachella

The Coachella 2017

The Coachella Festival

Coachella Concert

Coachella 2017 Concert

Coachella Concert Live

Coachella Concert Live Stream

Admin said...

Barcelona vs Real Madrid - Live, Stream, Watch, El Clasico, 2017, FC Barcelona, vs, Real Madrid https://barcelonavsrealmadrid.org/

Barcelona vs Real Madrid

Barcelona vs Real Madrid Live

Barcelona vs Real Madrid Live Stream

Barcelona vs Real Madrid 2017

2017 Barcelona vs Real Madrid

Watch Barcelona vs Real Madrid

Watch Barcelona vs Real Madrid Live

Watch Barcelona vs Real Madrid Online

Watch Barcelona vs Real Madrid Live Online

Barcelona vs Real Madrid 2017 Live Stream

FC Barcelona vs Real Madrid

FC Barcelona vs Real Madrid Live

FC Barcelona vs Real Madrid Live Stream

FC Barcelona vs Real Madrid 2017

2017 FC Barcelona vs Real Madrid

Watch FC Barcelona vs Real Madrid

Watch FC Barcelona vs Real Madrid Live

Watch FC Barcelona vs Real Madrid Online

Watch FC Barcelona vs Real Madrid Live Online

FC Barcelona vs Real Madrid 2017 Live Stream

El Clasico

El Clasico 2017

El Clasico Live

El Clasico Live Stream

Watch El Clasico

Watch El Clasico Live

Watch El Clasico Live Stream

Watch El Clasico Online

La Liga

La Liga Live

La Liga Live Stream

Admin said...

Zurich Classic - 2017, Live, Stream, Watch, Golf, Leaderboard, The, Zurich, Classic https://zurichclassic.org/

Zurich Classic

Zurich Classic 2017

2017 Zurich Classic

Zurich Golf Classic

Zurich Golf Classic 2017

Zurich Open

Zurich Open 2017

The Zurich Classic

The Zurich Classic 2017

Zurich Classic of New Orleans

Zurich Classic of New Orleans 2017

PGA Zurich Classic

Zurich Classic Live

Zurich Classic Live Stream

Zurich Classic Live Online

Watch Zurich Classic

Watch Zurich Classic Live

Watch Zurich Classic Live Online

Watch Zurich Classic Online

Watch Zurich Classic Live Stream

Watch Zurich Classic 2017

Watch Zurich Classic 2017 Live

Zurich Golf Classic Live Stream

Golf Live

Golf Live Stream

Watch Golf Live

Watch Golf Live Online

Admin said...

BMW Open - 2017, Live, Stream, Watch, BMW, Open, Tennis, Bavarian, Munich, ATP, Scores https://bmwopen.org/

https://bmwopen.org/

BMW Open

BMW Open 2017

2017 BMW Open

BMW Open Live

BMW Open Live Stream

Watch BMW Open

Watch BMW Open Live

BMW Open Tennis

BMW Open Tennis 2017

BMW Open Tennis Live

BMW Open Tennis Live Stream

Munich Open

Munich Open 2017

Munich Open Live

Munich Open Live Stream

Munich Tennis

Munich Tennis 2017

Munich Tennis Live

Munich Tennis Live Stream

Watch Munich Tennis

Munich 2017

Munich 2017 Live

Bavarian Tennis

Bavarian Tennis 2017

Bavarian Tennis Live

Bavarian Tennis Live Stream

Bavarian International Tennis Championships

Bavarian International Tennis Championships 2017

Tennis

Tennis 2017

Tennis Live

Tennis Live Stream

Watch Tennis

Watch Tennis Live

Admin said...

Players Championship - 2017, Live, Stream, Watch, Golf, Leaderboard, The, Players, Championship https://players-championship.org

Players Championship

Players Championship 2017

2017 Players Championship

The Players Championship

The Players Championship 2017

Players Champions

Players Champions 2017

2017 Players Champions

Players Champ

Players Champ 2017

2017 Players Champ

Players Championship Golf

Players Champions Golf

Players Championship Live

Players Championship Live Stream

Players Championship Live Streaming

Watch Players Championship

Watch Players Championship Live

Watch Players Championship Live Stream

Watch Players Championship 2017

Watch Players Championship Online

Players Champions Live

Players Champions Live Stream

Players Champions Live Streaming

Watch Players Champions

Watch Players Champions Live

Watch Players Champions Online

Players Champ Live

Players Champ Live Stream

Golf Live

Golf Live Stream

Golf Live Streaming

Watch Golf

Watch Golf Live

Watch Golf Live Stream

Watch Golf Online

PGA Tour

PGA Tour Live

PGA Tour Live Stream

PGA Tour Leaderboard

Admin said...

Madrid Open - 2017, Live, Stream, ATP, Scores, Mutua, Madrid, Open, Tennis https://open-madrid.org/

Madrid Open

Madrid Open 2017

2017 Madrid Open

Madrid Open Live

Madrid Open Live Stream

Watch Madrid Open

Watch Madrid Open Live

Watch Madrid Open Online

Mutua Madrid Open

Mutua Madrid Open 2017

2017 Mutua Madrid Open

Mutua Madrid Open Live

Mutua Madrid Open Live Stream

Watch Mutua Madrid Open

Watch Mutua Madrid Open Live

Watch Mutua Madrid Open Online

Madrid Tennis

Madrid Tennis 2017

Madrid Tennis Live

Madrid Tennis Live Stream

Madrid Open Tennis

Madrid Open Tennis 2017

Madrid Open Tennis Live

Masters Madrid

Masters Madrid 2017

2017 Masters Madrid

Masters Madrid Live

Masters Madrid Live Stream

Tennis

Tennis Live

Tennis Live Stream

Watch Tennis

Admin said...

Italian Open - Live, Stream, Watch, Italian, Open, Tennis, 2017, Rome, Masters, ATP, Scores https://italian-open.org/

Italian Open

Italian Open 2017

2017 Italian Open

Rome Masters

Rome Masters 2017

2017 Rome Masters

Italian Open Tennis

Italian Open Tennis 2017

Rome Tennis

Rome Tennis 2017

Italian Open Live

Italian Open Live Stream

Italian Open Streaming

Watch Italian Open

Watch Italian Open Live

Watch Italian Open Live Stream

Watch Italian Open Online

Watch Italian Open Live Online

Rome Masters Live

Rome Masters Live Stream

Rome Masters Streaming

Watch Rome Masters

Watch Rome Masters Live

Watch Rome Masters Live Stream

Watch Rome Masters Online

Watch Rome Masters Live Online

Rome Tennis Live

Rome Tennis Live Stream

Rome Tennis Streaming

Watch Rome Tennis

Watch Rome Tennis Live

Watch Rome Tennis Live Stream

Watch Rome Tennis Online

Watch Rome Tennis Live Online

Tennis Live

Tennis Live Stream

Tennis Streaming

Watch Tennis

Watch Tennis Live

Watch Tennis Live Stream

Watch Tennis Online

Watch Tennis Live Online

Admin said...

Rome Masters - Live, Stream, Watch, Italian Open, 2017, Rome, Tennis, Masters, ATP, Scores https://italianopen2017.org/

Rome Masters

Rome Masters 2017

2017 Rome Masters

Rome Masters Live

Rome Masters Live Stream

Rome Masters Live Streaming

Rome Masters Live Online

Watch Rome Masters

Watch Rome Masters Live

Watch Rome Masters Live Online

Watch Rome Masters Online

Watch Rome Masters Live Online

Rome Tennis

Rome Tennis 2017

Rome Tennis Masters

Italian Open

Italian Open 2017

2017 Italian Open

Italian Open Live

Italian Open Live Stream

Watch Italian Open

Watch Italian Open Live

Watch Italian Open Live Stream

Watch Italian Open Live Online

Tennis Live

Tennis Live Stream

Tennis Live Streaming

Watch Tennis

Watch Tennis Live

Watch Tennis Online

Admin said...

Europa League - Final, 2017, Live, Stream, Watch, UEFA, Europa, League, Stockholm https://league-europa.org/

Europa League

Europa League Final

Europa League Final 2017

Europa League 2017

2017 Europa League

2017 Europa League Final

Europa League 2017 Final

Stockholm

Stockholm 2017

Europa League Live

Europa League Live Stream

Europa League Live Streaming

Watch Europa League

Watch Europa League Online

Watch Europa League Live Stream

Watch Europa League Live Online

Europa League Final Live

Europa League Final Live Stream

Europa League Final Live Streaming

Watch Europa League Final

Watch Europa League Final Online

Watch Europa League Final Live Stream

Watch Europa League Final Live Online

Europa League 2017 Live

Europa League 2017 Live Stream

Europa League 2017 Live Streaming

Watch Europa League 2017

Watch Europa League 2017 Online

Live Stream said...

https://league-champions.org/

Champions League - Final, Live, Stream, Watch, UEFA, Champions, League, 2017 https://league-champions.org/

Champions League

Champions League Final

Champions League Final 2017

2017 Champions League Final

Champions League 2017

2017 Champions League

Champions League Finals

UEFA Champions League

UEFA Champions League 2017

UEFA Champions League Final

Champions League Live

Champions League Live Stream

Champions League Live Streaming

Watch Champions League

Watch Champions League Live

Watch Champions League Online

Champions League Final Live

Champions League Final Live Stream

Champions League Final Live Streaming

Watch Champions League Final

Watch Champions League Final Live

Watch Champions League Final Online

UEFA Champions League Live

UEFA Champions League Live Stream

UEFA Champions League Live Streaming

Watch UEFA Champions League

Watch UEFA Champions League Live

Watch UEFA Champions League Online

UEFA

UEFA 2017

2017 UEFA

UEFA Live

UEFA Live Stream

UEFA Live Streaming

Watch UEFA League

Watch UEFA Live

Watch UEFA Online

Admin said...

Real Madrid vs Juventus - Live, Stream, Watch, Champions League Final, Juventus, vs, Real Madrid https://realmadridvsjuventus.org/

Real Madrid vs Juventus

Juventus vs Real Madrid

Real Madrid vs Juventus Live

Real Madrid vs Juventus Live Stream

Watch Real Madrid vs Juventus

Watch Real Madrid vs Juventus Live

Juventus vs Real Madrid Live

Juventus vs Real Madrid Live Stream

Watch Juventus vs Real Madrid

Watch Juventus vs Real Madrid Live

Champions League Final

Champions League Final 2017

2017 Champions League Final

Champions League Finals

Champions League Final Live

Champions League Final Live Stream

Watch Champions League Final

Watch Champions League Final Live

Champions League

Champions League 2017

2017 Champions League

Champions League Live

Champions League Live Stream

Watch Champions League

Watch Champions League Live

UEFA Champions League

UEFA Champions League 2017

2017 UEFA Champions League

UEFA Champions League Live

UEFA Champions League Live Stream

Watch UEFA Champions League

Watch UEFA Champions League Live

Admin said...

French Open - Live, Stream, Watch, French, Open, 2017, Roland Garros, ATP, Scores https://the-frenchopen.com/

French Open

French Open 2017

2017 French Open

Roland Garros

Roland Garros 2017

2017 Roland Garros

Roland-Garros

Roland-Garros 2017

2017 Roland-Garros

The French Open

The French Open 2017

French Open Live

French Open Live Stream

Watch French Open

Watch French Open Live

Watch French Open Live Online

Roland Garros Live

Roland Garros Live Stream

Watch Roland Garros

Watch Roland Garros Live

Watch Roland Garros Live Online

Roland-Garros Live

Roland-Garros Live Stream

Watch Roland-Garros

Watch Roland-Garros Live

Watch Roland-Garros Live Online

Tennis Live

Tennis Live Stream

Tennis Live Streaming

Watch Tennis

Watch Tennis Live

Watch Tennis Online

Admin said...

US Open - Live, Stream, Watch, US, Open, 2017, Golf, Leaderboard https://the-usopen.com/

US Open

US Open 2017

2017 US Open

US Open Golf

US Open Golf 2017

US Open Championship

US Open Championship 2017

The US Open

The US Open 2017

US Open Live

US Open Live Stream

Watch US Open

Watch US Open 2017

Watch US Open Live

Watch US Open Online

Watch US Open Live Stream

US Open Golf Live

US Open Golf Live Stream

Watch US Open Golf

Watch US Open Golf Live

Watch US Open Golf Online

Watch US Open Golf Live Stream

US Open Championship Live

US Open Championship Live Stream

Watch US Open Championship

Watch US Open Championship Live

Watch US Open Championship Online

Watch US Open Championship Live Stream

Golf Live

Golf Live Stream

Golf Live Streaming

Watch Golf

Watch Golf Live

Watch Golf Streaming

Watch Golf Live Stream

Watch Golf Online

Audrey Milla said...

Safeway Open - 2017, Live, Stream, PGA, Tour, Leaderboard, Safeway, Open, Golf Live https://safewayopen.org/

https://safewayopen.org/

https://safewayopen.org/

https://safewayopen.org/

https://safewayopen.org/

Audrey Milla said...

NCAA Football - 2017, Live, Stream, Watch, College Football, Schedule, Standings https://ncaa-football.org/

NCAA Football

NCAA Football 2017

2017 NCAA Football

NCAA Football Live

NCAA Football Live Stream

Watch NCAA Football

College Football

College Football 2017

2017 College Football

College Football Live

College Football Live Stream

Watch College Football

NCAA College Football

NCAA College Football

Audrey Milla said...

Paris Masters 2017 - Live, Stream, Watch, ATP, Paris Masters, tennis streaming https://parismasters.co/

Paris Masters

Paris Masters 2017

2017 Paris Masters

Paris Tennis

Paris Masters Live

Paris Masters Live Stream

Watch Paris Masters

Watch Tennis Online

Tennis Live Stream

Admin said...

OHL Classic 2017 Live Stream https://lpgalive.org/ohl-classic-2017/

OHL Classic

OHL Classic 2017

OHL Classic Live

OHL Classic Live Stream

Watch OHL Classic

https://lpgalive.org/ohl-classic-2017/

https://lpgalive.org/ohl-classic-2017/

https://lpgalive.org/ohl-classic-2017/

Next Gen ATP Finals Live Stream https://lpgalive.org/next-gen-atp-finals/

Next Gen ATP Finals

Next Gen ATP Finals Live

Next Gen ATP Finals Live Stream

Watch Next Gen ATP Finals

ATP Finals

ATP Finals Live

ATP Finals Live Stream

Watch ATP Finals

https://lpgalive.org/next-gen-atp-finals/

https://lpgalive.org/next-gen-atp-finals/

https://lpgalive.org/next-gen-atp-finals/

College Basketball 2017 Live Stream https://lpgalive.org/college-basketball-2017/

College Basketball

College Basketball 2017

College Basketball Live

College Basketball Live Stream

Watch College Basketball

NCAA Basketball

NCAA Basketball 2017

NCAA Basketball Live Stream

Watch NCAA Basketball

NCAA College Basketball

Mens Basketball

Mens Basketball Live Stream

https://lpgalive.org/college-basketball-2017/

https://lpgalive.org/college-basketball-2017/

https://lpgalive.org/college-basketball-2017/

Admin said...

ATP World Tour Finals
ATP World Tour Finals 2017
ATP World Tour Finals Live
ATP World Tour Finals Live Stream
ATP World Finals
ATP World Finals 2017
ATP World Finals Live Stream
Watch ATP World Finals
ATP Finals
ATP Finals 2017
ATP Finals Live
ATP Finals Live Stream
Watch ATP Finals
https://lpgalive.org/atp-world-tour-finals/

ATP Finals
ATP Finals 2017
ATP Finals Live
ATP Finals Live Stream
Watch ATP Finals
ATP World Tour Finals
ATP World Tour Finals 2017
ATP World Tour Finals Live
ATP World Finals
ATP World Finals 2017
ATP World Finals Live
Watch ATP World Finals
https://lpgalive.org/atp-finals-2017/

Nitto ATP Finals
Nitto ATP Finals 2017
Nitto ATP Finals Live
Nitto ATP Finals Live Stream
ATP World Tour Finals
ATP World Tour Finals Live
ATP World Finals
ATP World Finals 2017
ATP World Finals Live
Watch ATP World Finals
ATP Finals
ATP Finals 2017
ATP Finals Live
ATP Finals Live Stream
Watch ATP Finals
https://lpgalive.org/nitto-atp-finals/

Admin said...

Titans vs Steelers
Titans vs Steelers Live
Titans vs Steelers Live Stream
Watch Titans vs Steelers
Steelers vs Titans
Steelers vs Titans Live
Steelers vs Titans Live Stream
Watch Steelers vs Titans

Steelers vs Titans
Steelers vs Titans Live
Steelers vs Titans Live Stream
Watch Steelers vs Titans
Titans vs Steelers
Titans vs Steelers Live
Titans vs Steelers Live Stream
Watch Titans vs Steelers

Titans vs Steelers
Titans vs Steelers Live
Titans vs Steelers Live Stream
Watch Titans vs Steelers
Steelers vs Titans
Steelers vs Titans Live
Steelers vs Titans Live Stream
Wacth Steelers vs Titans

Tennessee Titans
Tennessee Titans Live
Pittsburgh Steelers
Pittsburgh Steelers Live
Tennessee Titans vs Pittsburgh Steelers
Tennessee Titans vs Pittsburgh Steelers Live
Watch Tennessee Titans vs Pittsburgh Steelers

Admin said...

College Football
College Football 2017
College Football Live
College Football Live Stream
Watch College Football
Watch College Football Online
NCAA Football Game
NCAA Football Game Live
NCAA Football Game Live Stream
NCAA Football
NCAA Football 2017
NCAA Football Live
NCAA Football Live Stream
Watch NCAA Football
Watch NCAA Football Online
watch espn live
espn live football
ncaa live stream free
https://ncaa-football.org
https://ncaa-football.org
https://ncaa-football.org


NFL Live Stream
NFL Live
NFL Live Streaming
Watch NFL
Watch NFL Live
Watch NFL Live Online
NFL Live Streaming Online
NFL Football
NFL Football Live
NFL Football Live Stream
Watch NFL Football
watch nfl football
Watch NFL Football Live
NFL Games Online
NFL Games Stream
NFL Games Streaming
Stream NFL Games
https://nflgamestream.com
https://nflgamestream.com
https://nflgamestream.com

Unknown said...

Davis Cup

Davis Cup 2017

2017 Davis Cup

Davis Cup Final

Davis Cup Finals

Davis Cup Live

Davis Cup Live Stream

Davis Cup Live Streaming

Watch Davis Cup

Watch Davis Cup Live

Watch Davis Cup Online

Davis Cup Online

Davis Cup Streaming

Live Davis Cup Streaming

Davis Cup Final Live

Davis Cup Final Live Stream

Watch Davis Cup Final

Watch Davis Cup Finals

Watch Davis Cup Final Live

Watch Davis Cup Final Online

Davis Cup 2017 Live

Tennis Live

Tennis Live Stream

Watch Tennis Live

Tennis Live Streaming

https://davis-cup.co/

https://davis-cup.co/

https://davis-cup.co/

https://davis-cup.co/

Post a Comment