Sometimes I want to run certain files, but I don't want to navigate all the way to the folder.
If I know the file name and
find -name file_name.py only returns one result, can I just use that?
For example, instead of navigating all the way to a specific folder and calling:
Can I write:
python [ find -name file_name.py ]
python [ locate file_name.py ]
Or some sort of variant for 'search my entire computer for this file name and use it'? Preferably in one line.