OSX

edit ~/.bash_profile

source ~/.bash_profile

if bash_profile doesn't exist - create one. Sample (working) bash_profile content:

export PATH="$PATH:/Users/andrii/software/apache-tomcat-9.0.10/bin"

cd folderName

du -hs

rq: r tells it to scan resucrively

q tells it "quick" - do not display line-by-line differences

wdiff -s a.txt b.txt

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

and press enter/return key. Wait for the command to finish.

Run:

brew install wdiff

jar xf filename.jar

tree