Article 5GR5N How to run "export" to change PATH in a script?

How to run "export" to change PATH in a script?

by
JASlinux
from LinuxQuestions.org on (#5GR5N)
Code:#!/bin/sh
export PATH="/mnt/sdd1/scope/ScopeApp/:$PATH"
mount /dev/sdd1/ /media/mountpointWhen I execute, the export command doesn't work, but the mount command does.

Is there a parameter I'm missing?latest?d=yIl2AUoC8zA latest?i=kOOsddtRHZE:e-62dEq1-eU:F7zBnMy latest?i=kOOsddtRHZE:e-62dEq1-eU:V_sGLiP latest?d=qj6IDK7rITs latest?i=kOOsddtRHZE:e-62dEq1-eU:gIN9vFwkOOsddtRHZE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments