bashHow to escape single quote in a single-quoted string
echo 'It'"'"'s easy'
ctrl + c
'"'"' in order to escape, replace |
More of Bash
- How to check if a string starts with a specific value
- Quickly create big file
- How to extract file name
- How to assign an output of a command to a variable
- Urlencode string in bash
- How to check if a command exists
- Binet's Formula in bash
- How to convert string to uppercase
- Check if directory exists
- How to check if variable is empty
See more codes...