Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell for loop parameters

for var in "$@"
do
    echo "$var"
done
Comment

loop over shell parameters

while (( $# > 0 ))    # or [ $# -gt 0 ]
do
    echo "$1"
    shift
done
Comment

PREVIOUS NEXT
Code Example
Shell :: install talib linux server 
Shell :: docker clean logs 
Shell :: how to pull branch from github 
Shell :: powershell install oh-my-posh 
Shell :: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) 
Shell :: how to delete images older than x days from docker hub 
Shell :: bash message partial match 
Shell :: start hostednetwork 
Shell :: Call to undefined function factory() in Psy Shell code on line 1 
Shell :: sudo apt-get install podman 
Shell :: tar exclude directory 
Shell :: react native init 
Shell :: git file line history 
Shell :: error installing drivelist npm 
Shell :: Update nvm installed node version and keep globally installed packages 
Shell :: jq install bash 
Shell :: Unable to init server: Could not connect: Connection refused 
Shell :: how to install gitkraken on fedora 
Shell :: powershell create object 
Shell :: reset iis 
Shell :: truncate docker logs 
Shell :: linux set permissions during copy 
Shell :: mac refresh terminal 
Shell :: Remove uninstall Java in CentOS 
Shell :: remove .svn recursively linux 
Shell :: how to remove every space in a string in bash 
Shell :: git push repo 
Shell :: ubuntu mouse mover 
Shell :: How do I hide the path in command line prompt on Windows? 
Shell :: connect to specific wifi decive linux 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =