I am new to linux.
I made a python script that takes two inputs: a directory name and a file name. The file contains a pattern in each line. The output of the script is all the files that match the pattern and are in the given directory or its subdirectories.
Now I want to be able to invoke this python script using a command, like this:
user@machine:~$ search directory_path file_path
How can I do that?