Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

print star

#Bash Shell Script to print half pyramid using *
rows=4
for((i=1; i<=rows; i++))
do
  for((j=1; j<=i; j++))
  do
    echo -n "* "
  done
  echo
done
Comment

PREVIOUS NEXT
Code Example
Shell :: Running MacOS on Windows 10 with WSL2 
Shell :: create a file a1.txt tyep some content of it in linux 
Shell :: install renusify 
Shell :: how to create a wallpaper on a bat file 
Shell :: command to start terminal linux 
Shell :: Install and open HTTP, HTTPS and SSH access in the system firewall 
Shell :: brownie run script python 
Shell :: how to check cpu temperature ubuntu 20.04 
Shell :: magick change format png 
Shell :: how to get a zombie villager in minecraft 
Shell :: cmd echo datetime in loop 
Shell :: proxy v git 
Shell :: Git Kraken update Linux 
Shell :: linux copy files with specific ending 
Shell :: powershell copy all files recursively 
Shell :: smbolic link linux command 
Shell :: scale variable with bc 
Shell :: real user sys time shell 
Shell :: blender newest repository 
Shell :: how to add file to application linux 
Shell :: install openzeppelin 
Shell :: mac see what is ruuning on a port 
Shell :: how to rename file sequential in ubuntu 
Shell :: pip install win32api 
Shell :: wrong domain calling on same hosting ubuntu server 
Shell :: keep services up 2 
Shell :: kali linux no_pubkey 67ece5605bcf1346 
Shell :: install media library 
Shell :: install ChromeHeadless wsl 
Shell :: watchman Makefile:4446: scm/watchman-Mercurial.o] Error 1 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =