Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to pass the parameters to the script and how can I get those parameters?
Home
DevOps
How to pass the parameters to the script and how can I get those parameters?
0
votes
asked
Apr 1, 2021
in
DevOps
by
sharadyadav1986
How to pass the parameters to the script and how can I get those parameters?
devops
pass-number
script
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 1, 2021
by
sharadyadav1986
Scriptname.sh parameter1 parameter2
I will use $* to get the parameters.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: How to compile and run a script in one step?
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
script
0
votes
Q: Do you need to use <script id=”template-id” type=”text/x-handlebars-template”> tag in precompiled template?
asked
Jul 2, 2022
in
Handlebars
by
Robindeniel
handlebars
script
0
votes
Q: Which type of vulnerability allows an attacker to execute a malicious script in a user browser?
asked
Mar 17, 2021
in
Threat Modeling
by
sharadyadav1986
vulnerability-type
malicious
script
ssa
0
votes
Q: Which of the following is not a Gradle build script file?
asked
Mar 27
in
Gradle
by
rajeshsharma
gradle
build
script
file
0
votes
Q: What would you specify in the script while creating a database with SQL script?
asked
Mar 26, 2023
in
Oracle
by
Robin
sql
script
database
0
votes
Q: Java Script Tutorial
asked
Dec 4, 2019
in
JAVA
by
rajeshsharma
java
script
tutorial
Java-questions-answers
0
votes
Q: How to pass the parameters to the script
asked
Dec 1, 2019
in
DevOps
by
SakshiSharma
#devops-parameter
+1
vote
Q: How can I go from System Administration to DevOps?
asked
Jan 29, 2022
in
DevOps
by
GeorgeBell
devops
+1
vote
Q: How do I switch to DevOps from Automation Testing?
asked
Jan 29, 2022
in
DevOps
by
GeorgeBell
devops
+1
vote
Q: How do I become an Azure DevOps expert?
asked
Jan 29, 2022
in
DevOps
by
GeorgeBell
devops
...