Skip to main content
added 24 characters in body
Source Link
wscourge
  • 11.4k
  • 17
  • 65
  • 87

The example below works because the escaped single quote \' is technically between two single-quoted arguments

echo 'I'\''m a student' # works because the escaped single quote is technically between two single-quoted arguments 
echo 'I'\''m a student' # works because the escaped single quote is technically between two single-quoted arguments 

The example below works because the escaped single quote \' is technically between two single-quoted arguments

echo 'I'\''m a student' 
Source Link

echo 'I'\''m a student' # works because the escaped single quote is technically between two single-quoted arguments