Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell script local variable

#!/bin/bash
create_jail(){
   d=$1  
   echo "create_jail(): d is set to $d"
}

d=/apache.jail

echo "Before calling create_jail  d is set to $d"

create_jail "/home/apache/jail"

echo "After calling create_jail d is set to $d"
Comment

PREVIOUS NEXT
Code Example
Shell :: Unable to install libgnutls-dev 
Shell :: how to run built in automated test of your project in django 
Shell :: micronucleus: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory 
Shell :: sftp client online linux remote 
Shell :: upload large file to remote server in linux 
Shell :: list all the created users ids only 
Shell :: exec format error Heroku dockerfile 
Shell :: sc stop 
Shell :: Continuous bash script to do tasks 
Shell :: command to convert standard input to arguments for a piped command 
Shell :: timotei felvinczi githbun 
Shell :: 7zip zip multiple folders 
Shell :: cmd if compare more than 
Shell :: git change oriign 
Shell :: Send iMessage From Command Line With Bash/Osascript (Osascript = Command Line Version Of Applescript) 
Shell :: explicitly pull images from docker hub and list them on your terminal 
Shell :: CMake 3.16.0 or higher is required. You are running version 3.10.2 
Shell :: docker latest release 
Shell :: cargo create 
Shell :: case in fish 
Shell :: export VARs into you local env 
Shell :: gitlab ci credentials store 
Shell :: find file extension zsh 
Shell :: ring execute system commands 
Shell :: ssh to gcp vm 
Shell :: short cut: select all matches 
Shell :: dgvai/laravel-adminlte-components 
Shell :: install gtk in msys2 shell 
Shell :: ignore all logs 
Shell :: boot flash commande 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =