# Peoblems with passing bash script arguments

**URL:** <https://root-forum.cern.ch/t/peoblems-with-passing-bash-script-arguments/14666>\
**Category:** General Chat\
**Created:** [July 30, 2012, 11:19am UTC](https://root-forum.cern.ch/t/peoblems-with-passing-bash-script-arguments/14666 "2012-07-30T11:19:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kurbatov](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/k/ee7513/32.png) [@kurbatov](https://root-forum.cern.ch/u/kurbatov)\
**Post date:** [July 30, 2012, 11:19am UTC](https://root-forum.cern.ch/t/peoblems-with-passing-bash-script-arguments/14666/1 "2012-07-30T11:19:17Z")

</div>

Dear colleagues!  
Let me explain my problem.  
I have root script, Let it have name my.C with  
parameter,i.e. from command string I execute it  
like root ‘my.C(“run\_1.7”)’.  
Then let us assume that I should execute previous  
command inside bash script where the value run\_1.7 is  
a parameter of this bash script.  
In another words I take parameter for root script  
as an argument of bash script.  
How can I do it?  
Thanks in advance,V.Kurbatov

---

_[View the full topic](https://root-forum.cern.ch/t/peoblems-with-passing-bash-script-arguments/14666)._
