Linezolid works by binding to a site on the bacterial 23S ribosomal RNA of the 50S subunit and prevents the formation of a functional 70S initiation complex, which is an essential component of the bacterial translation process.