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 :: Change cursor in cmd 
Shell :: command list sort files by size 
Shell :: bun run 
Shell :: how to reboot a system with shutdown command 
Shell :: Bash script using input to iterate through array 
Shell :: siege add autorizartion 
Shell :: WHM - unistall softacoulous 
Shell :: networkmanager runit 
Shell :: kubernetes Networking best option 
Shell :: GitLab Break the git init --initial-branch=main out into two commands 
Shell :: Project structure for spring boot rest projects 
Shell :: cht.sh install 
Shell :: Install Kite for Linux 
Shell :: how to git init 
Shell :: "grep -a" example 
Shell :: linux xargs 
Shell :: command to kill port in linux 
Shell :: delete typeeset variable bash 
Shell :: mac finder quick preview for markdown 
Shell :: mikrotik enable ping from wan 
Shell :: kill proccess 
Shell :: see unimported react comp. 
Shell :: jq print all fields except 
Shell :: cht sht .vim (config opts) 
Shell :: sed bash change line 
Shell :: git mv directory case sensitive 
Shell :: how to list linux files in mb (human readable format) 
Shell :: bash ps3 newline 
Shell :: git branch description 
Shell :: nx scaffolding 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =