how to save a python script in terminal linux code example Example: create python file kali linux sudo nano test.py then, paste the exploit and save it