Let us consider a conductor with a cavity or a hole. Electric field inside the cavity is zero.
Let E is the electric field just outside the conductor, q is the electric charge, σ is the charge density, and ∈0 is the permittivity of free space.
charge |q|=¯¯¯σׯ¯¯¯¯ds
According to Gauss's law,
Flux, ϕ=¯¯¯¯E.¯¯¯¯¯ds=|q|∈0
Eds=¯¯¯σׯ¯¯¯¯ds∈0
∴E=σ∈0^n
Therefore, the electric field just outside the conductors is σ∈0^n. This field is a superposition of field due to the cavity (E′) and the field due to the rest of the charged conductor (E′). These fields are equal and opposite inside the conductor, and equal in magnitude and direction outside the conductor.
∴E′+E′=E
E′=E2
E′=σ2∈0^n
Therefore, the field due to the rest of the conductor is σ∈0^n. Hence, proved.