SlideShare a Scribd company logo
1 of 7
Download to read offline
BASH ­ Learning by Examples
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (1) ~ array.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
echo "=============="
declare ­a myarr[0]="Arun"
declare ­a myarr1
myarr1=(arun bagul bangalore mumbai raju santhosh)
myarr[1]="Bagul"
echo "my name is ${myarr[0]} ${myarr[1]}"
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­"
echo "${myarr1[*]}"
echo ${myarr1[2]}
echo ${myarr1[@]}
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­"
echo "Total no of elements in array ­ ${#myarr1[*]}"
echo "Total no of elements in array ­ ${#myarr1[@]}"
echo "Size of word '${myarr1[2]}' is ­ ${#myarr1[2]}"
echo ${#myarr1[1]}
echo ${#myarr1[0]}
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­"
#how to delete element in array
unset myarr[1]
echo "myarr is ­ ${myarr[*]}"
#how to assign element in array
myarr[1]="­ System Engineer!"
echo "myarr is ­ ${myarr[*]}"
echo ${myarr}
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (2) ~ command_line_arguments.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
echo "Script/command name => $0"
echo "arg1 => $1"
echo "arg2 => $2"
echo "arg3 => $3"
echo "Total No of argument = $#"
echo "Script PID is => $$"
echo "Status of previous command ­ $?"
name=$myname
echo "Name ­ $name"
read n
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (3) ~ default_value.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
#start='123'
#start=${1:­$start}
start=${1:­'123'}
echo "Value of 'start' variable is ==> $start"
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (4) ~ echo_example.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
name="Arun"
echo ­e "My Name is $name_arun and n"
echo ­e "My Name is ${name}_arun and n"
echo ­e 'My Name is $name and n'
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (5) ~ elif.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#! /bin/bash
if [ $1 ­eq $2 ];then
echo "good"
elif [ $2 ­eq $3 ];then
echo "Fine"
elif [ $1 ­eq $3 ];then
echo "OK"
else
echo "NO"
fi
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (6) ~ for_loop_example­1.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
i=1
while [ $i ­le 512 ]
do
temp=$i
echo "What is => $i | $temp"
i=$(expr $i + 32)
for (( j=$temp; $j<=$i; j++ ))
do
echo ­n " $j"
done
done
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (7) ~ for_loop_example­2.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
#for val in $(ls ­1 /tmp)
sum=0
#for val in {1..5}
#for val in {$1..$2}
for((val=$1;$val<=$2;val++))
do
#echo "$val"
sum=$(expr $sum + $val )
#sum=`expr $sum + $val`
done
echo "$0 # Sum of $1 to $2 => $sum"
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (8) ~ for_loop_example­3.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
for i in {1..9}
do
echo $i
done
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (9) ~ function.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
function my_function()
{
name="Arun Bagul"
echo "'my_function' body ~ $name"
return 1;
}
##########
myfunc()
{
echo "Another way of defining the function"
}
##########################
echo "Starting function program"
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­"
#calling function here
my_function
##
myfunc 
echo ­e "n end of program"
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (10) ~ how_to_pass_argument_to_function.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
function my_function()
{
echo "Total number of argument ~ $#"
echo "Arg1 => $1"
echo "Arg2 => $2"
echo "Arg3 => $3"
return 0;
}
##########
echo "Starting function program"
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­"
#calling function here
my_function arun bagul 1234
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (11) ~ how_to_take_hidden_input.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
echo ­n "Enter User Name :"
read username
echo ­n "Enter Password :"
read ­s mypwd
echo ­e "nI am $username and my password is ­ $mypwd"
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (12) ~ how_to_take_input_from_user.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
echo ­ne "Enter the Name:­ "
read name
echo ­n ­e "Enter the Number:­ "
read num
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­"
add=$(expr $num + 10)
echo "Name is ~ $name"
echo "Number is ~ $add"
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (13) ~ ifthen.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
if [ "arun" == "arun" ];then
echo "true!"
else
echo "false"
fi
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­"
if [ 2 == 2 ];then
echo "true!"
else
echo "false"
fi
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­"
if [ "arun" = "arun" ];then
echo "true!"
else
echo "false"
fi
echo "­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­"
if [ 2 ­eq 2 ];then
echo "true!"
else
echo "false"
fi
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (14) ~ non­interactive.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/usr/bin/expect ­f
spawn ssh arun@192.168.0.1
expect "password:"
sleep 1
send "pwdr"
interact
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (15) ~ read_file_line_by_line.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
file_name="/etc/hosts"
while read myvar
do
echo "Line => $myvar"
done < $file_name
echo "#################################################"
for myvar1 in $(cat $file_name)
do
echo "Line => $myvar1"
done
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (16) ~ reverse­number.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
declare ­a date_array
num=$1
i=$(expr $(echo $num | wc ­c) ­ 1 )
while [ $num ­gt 10 ]
do
temp=$( expr $num % 10 )
num=$( expr $num / 10);
echo "Digit($i) => $temp"
date_array[$i]="${temp}"
i=$(expr $i ­ 1)
done
echo "Digit($i) => $num"
date_array[$i]="${num}"
echo ${date_array[*]}
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (17) ~ string­operation.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#! /bin/bash
echo "Arun Bagul:­"
string="/root/arun/bagul/image.gif"
echo "string=> $string"
echo "String=> ${string##/*/}"
echo "String=> ${string#/*/}"
echo "String=> ${string%.*}"
echo "String=> ${string%%.*}"
#str="/home/y/conf/arunbagul/daily_market_0.conf"
str="${str##/*conf/}"
echo "String=> ${str%/*}"
#done
mystr="keyword_summary_exact_arunsb"
echo $mystr
echo ${mystr%_*}
echo "$*"
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (18) ~ switch.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
echo " Switch program | arg1 => $1"
echo " ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­"
case $1 in
123)
echo "Case is 123"
;;
arun)
echo "Case is 'arun'"
;;
pri*) 
echo "Case is 'pri*'"
;;
*)
echo " * Usage: $0 "
echo " Default case (nothing is matched)"
exit 0;
;;
esac
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (19) ~ while_loop_example­1.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#!/bin/bash
mywait=wait
while [ "${mywait}" = "wait" ]
do
echo "arun"
done
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Program (20) ~ while_loop_example­2.sh
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
#! /bin/bash
## on command line ­> i=0 && while [ $i ­le 10 ] ; do echo $i; i=$(expr $i + 1); done
i=0
while [ $i ­le 10 ]
do
echo $i
i=$(expr $i + 1)
done
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
Regards,
Arun

More Related Content

What's hot

جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲Mohammad Reza Kamalifard
 
Moose Best Practices
Moose Best PracticesMoose Best Practices
Moose Best PracticesAran Deltac
 
Palestra sobre Collections com Python
Palestra sobre Collections com PythonPalestra sobre Collections com Python
Palestra sobre Collections com Pythonpugpe
 
Terraform for fun and profit
Terraform for fun and profitTerraform for fun and profit
Terraform for fun and profitBram Vogelaar
 
{tidytext}と{RMeCab}によるモダンな日本語テキスト分析
{tidytext}と{RMeCab}によるモダンな日本語テキスト分析{tidytext}と{RMeCab}によるモダンな日本語テキスト分析
{tidytext}と{RMeCab}によるモダンな日本語テキスト分析Takashi Kitano
 
Elixir pattern matching and recursion
Elixir pattern matching and recursionElixir pattern matching and recursion
Elixir pattern matching and recursionBob Firestone
 
Magicke metody v Pythonu
Magicke metody v PythonuMagicke metody v Pythonu
Magicke metody v PythonuJirka Vejrazka
 
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
MooseX::Datamodel - Barcelona Perl Workshop Lightning talkMooseX::Datamodel - Barcelona Perl Workshop Lightning talk
MooseX::Datamodel - Barcelona Perl Workshop Lightning talkJose Luis Martínez
 
Modern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter BootstrapModern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter BootstrapHoward Lewis Ship
 
RedDot Ruby Conf 2014 - Dark side of ruby
RedDot Ruby Conf 2014 - Dark side of ruby RedDot Ruby Conf 2014 - Dark side of ruby
RedDot Ruby Conf 2014 - Dark side of ruby Gautam Rege
 
Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)Michael Schwern
 
MySQLConf2009: Taking ActiveRecord to the Next Level
MySQLConf2009: Taking ActiveRecord to the Next LevelMySQLConf2009: Taking ActiveRecord to the Next Level
MySQLConf2009: Taking ActiveRecord to the Next LevelBlythe Dunham
 
Working with Groovy Collections
Working with Groovy CollectionsWorking with Groovy Collections
Working with Groovy CollectionsTed Vinke
 
ICP2014: Pimp dein Apigility
ICP2014: Pimp dein ApigilityICP2014: Pimp dein Apigility
ICP2014: Pimp dein ApigilityRalf Eggert
 

What's hot (20)

جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
جلسه سوم پایتون برای هکر های قانونی دوره مقدماتی پاییز ۹۲
 
Moose Best Practices
Moose Best PracticesMoose Best Practices
Moose Best Practices
 
Palestra sobre Collections com Python
Palestra sobre Collections com PythonPalestra sobre Collections com Python
Palestra sobre Collections com Python
 
Python lists
Python listsPython lists
Python lists
 
Terraform for fun and profit
Terraform for fun and profitTerraform for fun and profit
Terraform for fun and profit
 
PubNative Tracker
PubNative TrackerPubNative Tracker
PubNative Tracker
 
{tidytext}と{RMeCab}によるモダンな日本語テキスト分析
{tidytext}と{RMeCab}によるモダンな日本語テキスト分析{tidytext}と{RMeCab}によるモダンな日本語テキスト分析
{tidytext}と{RMeCab}によるモダンな日本語テキスト分析
 
Ruby 101
Ruby 101Ruby 101
Ruby 101
 
Elixir pattern matching and recursion
Elixir pattern matching and recursionElixir pattern matching and recursion
Elixir pattern matching and recursion
 
19. CodeIgniter imagini in mysql
19. CodeIgniter imagini in mysql19. CodeIgniter imagini in mysql
19. CodeIgniter imagini in mysql
 
Magicke metody v Pythonu
Magicke metody v PythonuMagicke metody v Pythonu
Magicke metody v Pythonu
 
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
MooseX::Datamodel - Barcelona Perl Workshop Lightning talkMooseX::Datamodel - Barcelona Perl Workshop Lightning talk
MooseX::Datamodel - Barcelona Perl Workshop Lightning talk
 
Modern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter BootstrapModern Application Foundations: Underscore and Twitter Bootstrap
Modern Application Foundations: Underscore and Twitter Bootstrap
 
RedDot Ruby Conf 2014 - Dark side of ruby
RedDot Ruby Conf 2014 - Dark side of ruby RedDot Ruby Conf 2014 - Dark side of ruby
RedDot Ruby Conf 2014 - Dark side of ruby
 
Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)Simple Ways To Be A Better Programmer (OSCON 2007)
Simple Ways To Be A Better Programmer (OSCON 2007)
 
Potential Friend Finder
Potential Friend FinderPotential Friend Finder
Potential Friend Finder
 
Swift tips and tricks
Swift tips and tricksSwift tips and tricks
Swift tips and tricks
 
MySQLConf2009: Taking ActiveRecord to the Next Level
MySQLConf2009: Taking ActiveRecord to the Next LevelMySQLConf2009: Taking ActiveRecord to the Next Level
MySQLConf2009: Taking ActiveRecord to the Next Level
 
Working with Groovy Collections
Working with Groovy CollectionsWorking with Groovy Collections
Working with Groovy Collections
 
ICP2014: Pimp dein Apigility
ICP2014: Pimp dein ApigilityICP2014: Pimp dein Apigility
ICP2014: Pimp dein Apigility
 

Viewers also liked

Direct Web Remoting : DWR
Direct Web Remoting : DWRDirect Web Remoting : DWR
Direct Web Remoting : DWRhussulinux
 
PHP MySQL Training : Module 3
PHP MySQL Training : Module 3PHP MySQL Training : Module 3
PHP MySQL Training : Module 3hussulinux
 
Bash Shell Introduction By Arun Bagul
Bash Shell Introduction  By Arun BagulBash Shell Introduction  By Arun Bagul
Bash Shell Introduction By Arun BagulArun Bagul
 
Openlsm introduction
Openlsm introductionOpenlsm introduction
Openlsm introductionArun Bagul
 
Linux Apache Php Mysql Lamp1273
Linux Apache Php Mysql Lamp1273Linux Apache Php Mysql Lamp1273
Linux Apache Php Mysql Lamp1273hussulinux
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1hussulinux
 
Disciples Of The Cross
Disciples Of The CrossDisciples Of The Cross
Disciples Of The Crossdavid7s
 
Mississippi
MississippiMississippi
Mississippieamann
 
PHP MySQL Training : Module 2
PHP MySQL Training : Module 2PHP MySQL Training : Module 2
PHP MySQL Training : Module 2hussulinux
 
Flash Widget Tutorial
Flash Widget TutorialFlash Widget Tutorial
Flash Widget Tutorialhussulinux
 
Enterprise Application Framework
Enterprise Application FrameworkEnterprise Application Framework
Enterprise Application Frameworkhussulinux
 
Mobile Navigation
Mobile NavigationMobile Navigation
Mobile Navigationhussulinux
 
Effective communication
Effective communicationEffective communication
Effective communicationhussulinux
 
Como enseñar WordPress fernando tellado
Como enseñar WordPress fernando telladoComo enseñar WordPress fernando tellado
Como enseñar WordPress fernando telladoFernando Tellado
 
Auto Forex Trade with Meta Trader 4
Auto Forex Trade with Meta Trader 4Auto Forex Trade with Meta Trader 4
Auto Forex Trade with Meta Trader 4hussulinux
 
Branded content - Fernando Tellado
Branded content - Fernando TelladoBranded content - Fernando Tellado
Branded content - Fernando TelladoFernando Tellado
 
Strategies for effective lesson planning flipped classroom
Strategies for effective lesson planning   flipped classroomStrategies for effective lesson planning   flipped classroom
Strategies for effective lesson planning flipped classroomJames Folkestad
 
Comparte ganancias con un programa de Marketing de afiliación
Comparte ganancias con un programa de Marketing de afiliación Comparte ganancias con un programa de Marketing de afiliación
Comparte ganancias con un programa de Marketing de afiliación Fernando Tellado
 

Viewers also liked (19)

Direct Web Remoting : DWR
Direct Web Remoting : DWRDirect Web Remoting : DWR
Direct Web Remoting : DWR
 
PHP MySQL Training : Module 3
PHP MySQL Training : Module 3PHP MySQL Training : Module 3
PHP MySQL Training : Module 3
 
Bash Shell Introduction By Arun Bagul
Bash Shell Introduction  By Arun BagulBash Shell Introduction  By Arun Bagul
Bash Shell Introduction By Arun Bagul
 
Openlsm introduction
Openlsm introductionOpenlsm introduction
Openlsm introduction
 
Linux Apache Php Mysql Lamp1273
Linux Apache Php Mysql Lamp1273Linux Apache Php Mysql Lamp1273
Linux Apache Php Mysql Lamp1273
 
Apache Ant
Apache AntApache Ant
Apache Ant
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
 
Disciples Of The Cross
Disciples Of The CrossDisciples Of The Cross
Disciples Of The Cross
 
Mississippi
MississippiMississippi
Mississippi
 
PHP MySQL Training : Module 2
PHP MySQL Training : Module 2PHP MySQL Training : Module 2
PHP MySQL Training : Module 2
 
Flash Widget Tutorial
Flash Widget TutorialFlash Widget Tutorial
Flash Widget Tutorial
 
Enterprise Application Framework
Enterprise Application FrameworkEnterprise Application Framework
Enterprise Application Framework
 
Mobile Navigation
Mobile NavigationMobile Navigation
Mobile Navigation
 
Effective communication
Effective communicationEffective communication
Effective communication
 
Como enseñar WordPress fernando tellado
Como enseñar WordPress fernando telladoComo enseñar WordPress fernando tellado
Como enseñar WordPress fernando tellado
 
Auto Forex Trade with Meta Trader 4
Auto Forex Trade with Meta Trader 4Auto Forex Trade with Meta Trader 4
Auto Forex Trade with Meta Trader 4
 
Branded content - Fernando Tellado
Branded content - Fernando TelladoBranded content - Fernando Tellado
Branded content - Fernando Tellado
 
Strategies for effective lesson planning flipped classroom
Strategies for effective lesson planning   flipped classroomStrategies for effective lesson planning   flipped classroom
Strategies for effective lesson planning flipped classroom
 
Comparte ganancias con un programa de Marketing de afiliación
Comparte ganancias con un programa de Marketing de afiliación Comparte ganancias con un programa de Marketing de afiliación
Comparte ganancias con un programa de Marketing de afiliación
 

Similar to Bash Learning By Examples

Menu func-sh(1)
Menu func-sh(1)Menu func-sh(1)
Menu func-sh(1)Ben Pope
 
Menu func-sh
Menu func-shMenu func-sh
Menu func-shBen Pope
 
Class 4 - PHP Arrays
Class 4 - PHP ArraysClass 4 - PHP Arrays
Class 4 - PHP ArraysAhmed Swilam
 
PHP Functions & Arrays
PHP Functions & ArraysPHP Functions & Arrays
PHP Functions & ArraysHenry Osborne
 
Ruby初級者向けレッスン 48回 ─── Array と Hash
Ruby初級者向けレッスン 48回 ─── Array と HashRuby初級者向けレッスン 48回 ─── Array と Hash
Ruby初級者向けレッスン 48回 ─── Array と Hashhigaki
 
Useful javascript
Useful javascriptUseful javascript
Useful javascriptLei Kang
 

Similar to Bash Learning By Examples (8)

Intoduction to php arrays
Intoduction to php arraysIntoduction to php arrays
Intoduction to php arrays
 
Menu func-sh(1)
Menu func-sh(1)Menu func-sh(1)
Menu func-sh(1)
 
Menu func-sh
Menu func-shMenu func-sh
Menu func-sh
 
Class 4 - PHP Arrays
Class 4 - PHP ArraysClass 4 - PHP Arrays
Class 4 - PHP Arrays
 
PHP Functions & Arrays
PHP Functions & ArraysPHP Functions & Arrays
PHP Functions & Arrays
 
1 the ruby way
1   the ruby way1   the ruby way
1 the ruby way
 
Ruby初級者向けレッスン 48回 ─── Array と Hash
Ruby初級者向けレッスン 48回 ─── Array と HashRuby初級者向けレッスン 48回 ─── Array と Hash
Ruby初級者向けレッスン 48回 ─── Array と Hash
 
Useful javascript
Useful javascriptUseful javascript
Useful javascript
 

Recently uploaded

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 

Recently uploaded (20)

DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 

Bash Learning By Examples