print variable in bash
echo "${var}"#create a variable to store name
name="Lance Armah"#!/bin/bash
echo
echo "When single quote is used with string:"
invitation='Welcome to javatpoint'
echo $invitation
echo
echo "When double quote is used with string:"
invitation="Welcome to javatpoint"
echo $invitation
echo
echo "When variable is used with double quote:"
Remark="Hello User!, $invitation"
echo $Remark
echo
echo "When variable is used with single quote:"
Remark='Hello User!, $invitation'
echo $Remark
echo
Also in C++:
- install geth in ubuntu
- stop localhost server
- Error: Unable to find a match: centos-release-openstack-queens
- rails how to check environment
- error: failed to push some refs to
- ssh config
- install react form
- docker mssql
- copy code from one repo to another git
- shopify theme kit
- ansible store shell return code
- install docker in ubuntu
- How to Install Julia on Ubuntu
- git clean fdx
- list database in ubuntu
- Installation failed: Download failed. Destination directory for file streaming does not exist or is not writable.
- how to push repository to github
- remove iptables rule
- sed with variables in shell script
- why my github user not showing photo in commit
- how to install cargo packages
- awk get last field
- undo git add but keep changes
- sed remove last 3 lines