Interactive GUI-like command line merging tool (like BeyondCompare or WinMerge) for Linux I would go for vimdiff. See this tutorial. sdiff(1)