Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

powershell while loop

> $array = @("item1", "item2", "item3")
$counter = 0;

while($counter -lt $array.length){
   $array[$counter]
   $counter += 1
}
 
item1
item2
item3
Comment

powershell do while loop

> $array = @("item1", "item2", "item3")
$counter = 0;

do {
   $array[$counter]
   $counter += 1
} while($counter -lt $array.length)
 
item1
item2
item3 
Comment

PREVIOUS NEXT
Code Example
Shell :: root folders via gui ubuntu 
Shell :: Unable to boot device due to insufficient system resources. 
Shell :: how to install windows command line installer scoop 
Shell :: rename branch name brfore push 
Shell :: npm install without dev dependencies 
Shell :: how to open sublime in linux 
Shell :: git CAfile: none CRLfile: none 
Shell :: pull branch git 
Shell :: git commit messages 
Shell :: install docker-compose in centos 8 
Shell :: bash move file 
Shell :: -bash: docker: command not found mac 
Shell :: wordpress mit ssh installieren 
Shell :: download nodejs debian linux 
Shell :: stop tracking git pattern 
Shell :: react app deploy on github pages 
Shell :: ip route delete linux 
Shell :: how to untrack a file in git 
Shell :: how to uncommit the last commit in git 
Shell :: look like hacker linux 
Shell :: amend specific commit 
Shell :: install simplejwt django 
Shell :: git alias - multiple commands 
Shell :: /gi regex 
Shell :: uninstall npm package 
Shell :: hostname change inux 
Shell :: git clone syntax 
Shell :: ssh git clone 
Shell :: install node package globally 
Shell :: obs studio fedora 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =