Hub
Pricing About
WorkflowWorkflow

External Tools

Workflow SnippetExternal ToolsExecutable.sh.bat
wkhan profile image
Draft Latest edits on 
Jan 3, 2022 4:30 PM
Drag & drop
Like
Download workflow
Workflow preview
This shows a simple example of calling the external tools node. The workflow data directory contains all the necessay files: input.txt addNumber.sh output.txt The addNumber.sh script requires two Command Line Arguments. The first is the path to the file you would like to read and the second is the number you would like to add to the input. You may get a permissions error running the script, and can set full read-write-execute access to the script by running the command "chmod u=rwx,g=rwx,o=rwx addNumber.sh" The script itself: #! /bin/bash filename=$1 n=$2 while read line; do sum=$(($line + $n)) echo $sum >>output.txt done < $filename
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.4.2
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.2

    knime
  • Go to item
    KNIME External Tool SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.1

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits