How to Enter UNIX Commands | Basic Teradata Query - Entering UNIX Commands - Basic Teradata Query

Basic Teradata® Query Reference

Product
Basic Teradata Query
Release Number
17.00
Published
December 2020
Language
English (United States)
Last Update
2020-12-12
dita:mapPath
zqt1544831938740.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2414
lifecycle
previous
Product Category
Teradata Tools and Utilities

For workstation-attached systems on UNIX, use the UNIX EXECUTE SHELL command with the BTEQ OS command to display the UNIX command prompt. Then, after entering UNIX commands, press and hold the Ctrl+D keys to return to BTEQ.

Example – UNIX Command

.OS [exec sh | sh]
$ pg myfile.one
$ cp oldfile.txt newfile.txt
$ cd draft
$ [<cntrl>/<d> or exit] 
BTEQ -- Enter your logon or BTEQ command: