answersLogoWhite

0


Best Answer

The first argument is always $1. It may or may not exist, but is always referred to by $1.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you refer to the first argument supplied by a user in a shell script?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the PS refer to?

PS is an acronym for Postscript, a programming language used primarily for printing and desktop publishing. It's also commonly used to refer to a PlayStation, a popular gaming console developed by Sony.


What command in a script would print on the screen the first variable past to that script?

Well the question is not particularly specific. I assume that we are talking about shell and in this example I would refer to "bash" shell. #!/bin/bash echo $1 this simple script will print first parameter passed to it.


First nation state to rise?

Depending on which argument you follow, the 13 colonies, pre-United States, was the first "modern" nation-state. Refer to wikipedia or Encyclopedia Britanica.


What does a persuasive visual design to make an argument refer to?

Visual Rhetoric


What does a persuasive visual designed to make an argument refer to?

Visual Rhetoric


What does PS at the end of letter refer to?

"PS" stands for postscript, a note added to the end of a letter after the signature. It is used to include an additional thought or information that was forgotten or deemed important to mention after the main body of the letter.


Where can you find widgets for the Archos 605 beside the ones supplied by Archos?

Refer to link posted :


Why you use documentgetElementByIddemo in java script?

DocumentgetElementByID is used to refer a attribute by it's id. This will get the element with the id defined anywhere in the page.


What is Anthony's intention in including this quotation in her speech?

She wants to refer to the words of the Constitution to give her own argument persuasive power.


What do Ethos Pathos and Logos refer to?

Ethos, Pathos, and Logos are rhetorical appeals used to persuade an audience in an argument. Ethos refers to credibility and expertise of the speaker, Pathos is appeal to emotions, and Logos is appeal to logic and reasoning. Each plays a role in convincing an audience to agree with a particular point of view.


How do you recognize a car have timing belt or chain?

There is no visual way to tell the difference. You will have to refer to the information supplied by the manufacturer as to which years and which engines had belts and which had chains.


How does the biblical quotation at the end of the sermon strengten edward's argument?

Please give more information in your question. What is the first and last name of the person you refer to as "Edward"? What is the title of the sermon, if it has one? Is this part of a story in a book? If so, what is the name of the book?