1. FTP the file over to windows and it there.
2. If a GUI is installed on the Linux box edit it under the GUI where you can copy/paste in the text editor (kedit, kate, xedit, ....) like you do in windows
3. copy/paste within vi with the vi commands.
4. split the one tab.sql into single tab_tableX.sql files and execute only the ones you want.
5. Change the pure SQL into an pl/sql procedure which uses an command line parameter and a if-loops to select the tables.
6. Write some sort of shell script to execute the sql statements based on command line parameters. PERL might come in handy there.