I thought to your home directory (
/home/username/), but you can just as well find it: let's say the filename was
somefile.abc. To search it there are basically two methods: (s)locate and find. If you have had your machine on for some time (enough time) or run updatedb manually, locate is quicker, but find is good too. Let's say you haven't updated your slocate database after the file
somefile.abc was transferred:
#1
Code:
su
updatedb && locate somefile.abc
You need to run updatedb as root, locate can be run as a regular user too, if you like.
locate looks for match using a database that
updatedb has created, so files moved/created after last
updatedb won't show up as they should. Usually the database is updated every night or so, by default, but that can be changed too -- or run manually if in hurry. It might depend but I think updating slocate database and using locate is faster than using find.
#2
Code:
find / -name somefile.abc
Either method should show you the location.