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