I have this line of code where i go to the 4th column , get the maximum number and print it out
maximum=$(sort -u -k4 -nr Logname.csv | tail-2)
but its showing me this error
sort: fflush failed: standard output: Broken pipe sort: write error
Anyone can help me fix this?