need help with scripting [on hold]Repeat a Unix command every x seconds foreverHow to print own script name...

Why is 10.1.255.255 an invalid broadcast address?

Fat Cantor Set with large complement???

Need a function be continuous on a closed interval for the constitution of Intermediate Value Theorem?

Can elves trance in armor without any downsides?

If I did not sign promotion bonus document, my career would be over. Is this duress?

What is this "very, very powerful article" that Trump is referring to vis à vis the Kurds?

Are my triangles similar?

Did I Traumatize My Puppy?

Who discovered the covering homomorphism between SU(2) and SO(3)?

Did it take 3 minutes to reload a musket when the second amendment to the US constitution was ratified?

Why is こんばんみ used as a response to こんばんは?

Given that an Octatonic Scale has 8 notes, what are the names of the scale intervals e.g. for a diminished scale?

How are Aircraft Noses Designed?

Moonlight bright enough to see by

Is it really better for the environment if I take the stairs as opposed to a lift?

What is the "5th Edition Adventures" book series?

Why do these two ways of understanding constant acceleration give different results?

Stare long enough and you will have found the answer

Labeling lines that are not within polygons using field calculator

Why is my paper "under review" if it contains no results?

When was the famous "sudo warning" introduced? Under what background? By whom?

Does code obfuscation give any measurable security benefit?

Why were germanium diodes so fast and germanium transisters so slow?

My company wants to hide the fact that I'm leaving by announcing I'm on a sick leave



need help with scripting [on hold]


Repeat a Unix command every x seconds foreverHow to print own script name in mawk?Script that outputs the total number of lines in all the text files that are passed as argumentssed in bash scripting troubleshootingWriting a AWK script by taking the input file as an argumentHow do I find the line number in Bash when an error occured?Does this script run a program once as close as to every 15 seconds and not run two instances at the same time?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}








-2

















Name the script args.sh.
The script will take any number of command line arguments.
The script will print (echo) each of the command line arguments on its own line, and will then print the total number of arguments entered.
You should use the special shell variables. One special variable contains all the command line arguments. There is another one that contains the number of command one arguments entered.
This script is most easily completed with a for loop, although the task can also be accomplished with a while loop, but you definitely need some type of loop since it has to process an unknown number of command line arguments.










share|improve this question







New contributor



carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













put on hold as unclear what you're asking by Jeff Schaller 1 hour ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.




















  • Have you tried something so far?

    – guillermo chamorro
    2 hours ago











  • I've been trying this for hours and can't seem to figure it out

    – carah
    2 hours ago











  • If you want help, since it really looks like homework, you should show us what have you tried and detail the specific problems you encountered.

    – guillermo chamorro
    2 hours ago


















-2

















Name the script args.sh.
The script will take any number of command line arguments.
The script will print (echo) each of the command line arguments on its own line, and will then print the total number of arguments entered.
You should use the special shell variables. One special variable contains all the command line arguments. There is another one that contains the number of command one arguments entered.
This script is most easily completed with a for loop, although the task can also be accomplished with a while loop, but you definitely need some type of loop since it has to process an unknown number of command line arguments.










share|improve this question







New contributor



carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













put on hold as unclear what you're asking by Jeff Schaller 1 hour ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.




















  • Have you tried something so far?

    – guillermo chamorro
    2 hours ago











  • I've been trying this for hours and can't seem to figure it out

    – carah
    2 hours ago











  • If you want help, since it really looks like homework, you should show us what have you tried and detail the specific problems you encountered.

    – guillermo chamorro
    2 hours ago














-2












-2








-2








Name the script args.sh.
The script will take any number of command line arguments.
The script will print (echo) each of the command line arguments on its own line, and will then print the total number of arguments entered.
You should use the special shell variables. One special variable contains all the command line arguments. There is another one that contains the number of command one arguments entered.
This script is most easily completed with a for loop, although the task can also be accomplished with a while loop, but you definitely need some type of loop since it has to process an unknown number of command line arguments.










share|improve this question







New contributor



carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Name the script args.sh.
The script will take any number of command line arguments.
The script will print (echo) each of the command line arguments on its own line, and will then print the total number of arguments entered.
You should use the special shell variables. One special variable contains all the command line arguments. There is another one that contains the number of command one arguments entered.
This script is most easily completed with a for loop, although the task can also be accomplished with a while loop, but you definitely need some type of loop since it has to process an unknown number of command line arguments.







scripting






share|improve this question







New contributor



carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor



carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question






New contributor



carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 2 hours ago









carahcarah

1




1




New contributor



carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




carah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







put on hold as unclear what you're asking by Jeff Schaller 1 hour ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











put on hold as unclear what you're asking by Jeff Schaller 1 hour ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









put on hold as unclear what you're asking by Jeff Schaller 1 hour ago


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Have you tried something so far?

    – guillermo chamorro
    2 hours ago











  • I've been trying this for hours and can't seem to figure it out

    – carah
    2 hours ago











  • If you want help, since it really looks like homework, you should show us what have you tried and detail the specific problems you encountered.

    – guillermo chamorro
    2 hours ago



















  • Have you tried something so far?

    – guillermo chamorro
    2 hours ago











  • I've been trying this for hours and can't seem to figure it out

    – carah
    2 hours ago











  • If you want help, since it really looks like homework, you should show us what have you tried and detail the specific problems you encountered.

    – guillermo chamorro
    2 hours ago

















Have you tried something so far?

– guillermo chamorro
2 hours ago





Have you tried something so far?

– guillermo chamorro
2 hours ago













I've been trying this for hours and can't seem to figure it out

– carah
2 hours ago





I've been trying this for hours and can't seem to figure it out

– carah
2 hours ago













If you want help, since it really looks like homework, you should show us what have you tried and detail the specific problems you encountered.

– guillermo chamorro
2 hours ago





If you want help, since it really looks like homework, you should show us what have you tried and detail the specific problems you encountered.

– guillermo chamorro
2 hours ago










0






active

oldest

votes


















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...