Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell function example

#!/bin/sh

# Define your function here
Hello () {
   echo "Hello World $1 $2"
}

# Invoke your function
Hello Zara Ali
Comment

function in shell script

#!/bin/sh

# Function Definition
Welcome () {
   echo "Welcome $1"
}

# Calling the function Welcome with argument 
Welcome Vel
Comment

PREVIOUS NEXT
Code Example
Shell :: docker images only name 
Shell :: install grammarly on mac brew 
Shell :: diff specific file git different branches 
Shell :: how to list all versions of pip in ubuntu using grep 
Shell :: mongodb install ubuntu 20.04 
Shell :: generate ssh key 
Shell :: npm install webpack 
Shell :: git squash 
Shell :: download visual studio 2019 for ubuntu 
Shell :: remove frmo staging git 
Shell :: git log by author 
Shell :: npm not found in zsh 
Shell :: gulp imagemin 
Shell :: vim count ocurrences 
Shell :: open port on firewall linux 
Shell :: flutter android sdkmanager not found 
Shell :: deploy stack cloudformation cli 
Shell :: install kde partition manager 
Shell :: oh my zsh ubuntu 20.04 
Shell :: move multiple files with a single mv command 
Shell :: video to gif 
Shell :: wsl directory 
Shell :: git current branch 
Shell :: how to setup vim plugins 
Shell :: command not found: shopify 
Shell :: List files and sort by date and time in Linux 
Shell :: ip route delete linux 
Shell :: ffmpeg to mkv 
Shell :: Re-run cmake with a different source directory. 
Shell :: how to merge branch to master 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =