Change the file names of two files
I want to be able to easily change the file names of two files in bash shell.
Example: filname1.txt switch names with filname2.txt.
In this way, I want to transfer the contents of filname1.txt to filname2.txt and content of filname2.txt to filname1.txt
But I can not figure out how this can be done.