I created a C++ file, adjacent_find.cpp in a directory, using g++, I compiled it successfully and an output file was generated. When I list the content of the directory from the terminal, I see three files:
Linux-Host:~/Desktop/Algorithms/algorithm # ls
adjacent_find.cpp adjacent_find.cpp~ output
What is the purpose and meaning of the file with the tilde (~)? I can only see the file with the tilde (~) from the terminal, it is not displayed in my file browser.