Follow steps in Oracle Instant Client Ubuntu documentation.
export NLS_LANG=SPANISH_SPAIN.AL32UTF8
From instant client FAQ:
How do I ensure that my "tnsnames.ora" file is being used in Instant Client? Always set the TNS_ADMIN environment variable or registry to the location of the tnsnames.ora file (full directory path only, do not > include the file name). This practice will ensure that you are using the appropriate tnsnames.ora for your application when running > with Instant Client.
This only works on linux and inside sql*plus.
!ls -1 -Q *.sql |sed 's/\(.\)/@@&/' > execAll.sql
@execAll
Remember to delete execAll.sql script before use the tip a second time in the same folder. Instead you can add an rm command at the begining:
!rm execAll.sql 2>/dev/null
!ls -1 -Q *.sql |sed 's/\(.\)/@@&/' > execAll.sql
@execAll