User Tools

Site Tools


command_line_arguments

If you want to send us your comments, please do so. Thanks
More on comments


Command line arguments

Example:

#!/bin/bash
echo "Count form $1 via $2 to $3"
echo The number of arguments is $#
echo The arguments are: $@
echo The scriptname is $0

Save the script as

commandlineArguments.sh

Execute the script

./commandlineArguments.sh one two three

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
command_line_arguments.txt · Last modified: 24-02-2016 20:13 by wim