I want to compare with online users inside freeradius database and users inside mikrotik devices , so I retrieved online users from freeradius and insert them inside file1, get online users from mikrotik and insert them inside file2, now I want to get the users that are found in file2 but not found inside file1 so I used this code
I am trying to get users that are found in file2 but not found in file 1.
comm -23 <(sort < file2) <(sort file1)
but I had this error
Syntax error: "(" unexpected.
So where is my error?
actually I don't know much things about bash and shell , so please help me