Blog
About Me
CV
Tech-Blog
Sharing my tech stories
All Posts
How to check if a variable is set in Bash?
Question Answers Short Approach Full explanation Question For example, how do I check if the user gave the first parameter to a function? function a { # if $1 is set ?
Explore
→
active-directory
asciinema
bash
centos
cloud-native
dnsmasq
emoji
gluster
gradle
grafana
haproxy
heketi
hugo
java
jdk
jenkins
kubernetes
lab
loadbalancer
monitoring
networkmanager
openconnect
ruby
spring-boot
storage
terraform
ubuntu
virtualbox
vpn