Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash read options from file

#! /bin/bash

# Optionally, set default values
# var1="default value for var1"
# var1="default value for var2"

. /path/to/some.config

echo "$var1" "$var2"
Comment

PREVIOUS NEXT
Code Example
Shell :: how to speed up internet connection ubuntu 20 
Shell :: composer v2 
Shell :: how can I check ram usage in mb in linux? 
Shell :: git merge without delete files 
Shell :: git create branch and checkout one command 
Shell :: linux screenshot shortcut 
Shell :: git connect local to remote 
Shell :: chown recursive 
Shell :: rman commands 
Shell :: linux add icon to .desktop file 
Shell :: vue import yaml 
Shell :: git clone and create directory 
Shell :: archive file 
Shell :: bash manual 
Shell :: copying folders in git bash 
Shell :: babel source maps 
Shell :: git rename a local branch 
Shell :: pytest_check 
Shell :: precompile bits/stdc++.h 
Shell :: How to use alias in Linux bash 
Shell :: list directories linux 
Shell :: expose deployment k8 
Shell :: sed insert multiple lines after match 
Shell :: folder open in command line 
Shell :: run cron job as specific user 
Shell :: search command in powershell 
Shell :: how to turn off mac display 
Shell :: add shortcut to applications ubuntu 
Shell :: export function in shell script 
Shell :: git warning lf will be replaced by crlf 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =