Skip to main content

CommandLine overview

Information noteWarning: This feature has been removed from Talend Administration Center 8.0 onwards. For more information, see CommandLine in Talend Studio User Guide.
The CommandLine offers the same basic functionalities as Talend Studio and it is used to generate and export the Jobs developed with Talend Studio onto the Job servers, or export Services, Routes and data service Jobs onto Runtime servers. To launch the CommandLine on Linux, you have to run the commandline.sh file. To launch the CommandLine on Windows, you have to run the commandline.bat file.
Information noteNote: Before shutting down or rebooting Windows, you should ensure that JobSever and

CommandLine services are not running.

The commandline file contains three different parts:

  • the name of the Talend Studio executable corresponding to your OS, for example: ./Talend-Studio-linux-gtk-x86

  • operating options, for example:

    -nosplash, no interface is displayed.

    -application org.talend.commandline.CommandLine, the application is launched in commandline mode.

    -consoleLog, the logs are displayed in the console.

    -data commandline-workspace, specify the path and name of the commandline workspace.

  • the operating mode, for example: startServer -p 8002

If you want to modify the default settings, you can edit the file, and set it according to your need.

Information noteWarning:

If you want to run your CommandLine in background on Linux, you first need to disable the shell. To do so:

  1. Edit the commandline.sh file.

  2. Add the --disableShellInput command.

  3. Save your file.

Example of use of this command:

./Talend-Studio-linux-gtk-x86 --disableShellInput -nosplash
-application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace
startServer -p 8002

Then you can execute your CommandLine in background. To do so, do the following:

  1. Switch to the <CommandlinePath>.

  2. Enter the command:

    ./commandline.sh &

Once the commands have been executed, you can close the CommandLine window and it will not exit the service.

The CommandLine can be executed in four different modes, according to your need:

The most common mode used is the Server mode.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!