I want to display a string in Bash like this
I\'m a student
Of course you can do it like this
echo \"I\'m a student\" <
The example below works because the escaped single quote \' is technically between two single-quoted arguments
\'
echo 'I'\''m a student'