How to Export a Display in the Korn Shell

In Unix and Linux shell coding, if you wanted to export the display of the shell to another location or, for example, into another program you can use the export display command. This is useful if you do not want to code everything from the command shell at once or where it may not be possible to do so. KornShell (ksh) is one of many types of kernel shell that can be implemented into an operating system. With KornShell, instead of using an 'export' command, you use the 'setenv' command.

Instructions

    • 1

      Open the KornShell Terminal.

    • 2

      Type "setenv DISPLAY location" (without quotes). Replace "location" with the location you want to export the display. If, for example, you want to export to an external computer, enter that computer's IP address. Or if you want to export to a program, type the name of that program's import script.

    • 3

      Press "Enter" to export the display.

Related Searches:

References

Comments

Related Ads

Featured