no, antibiotics kill bacteria/fungi not virus'
Antibiotics can only kill bacteria. Not fungi or viruses.
Antibiotics are chemicals that kill or inhibit the growth of bacteria and are used to treat bacterial infections. They are produced in nature by soil bacteria and fungi.
Antibiotics specifically target bacterial infections, not fungal infections. To kill fungus in humans, antifungal medications such as fluconazole or clotrimazole are typically prescribed. These medications work by targeting the cell walls or cell membranes of the fungus, leading to their death.
Fungi and bacteria are in direct competition with each other when it comes to decomposing dead matter. If a fungus would like to be the dominant decomposer; it will find a way to kill its neighbor bacteria.
Antibiotics
Fungi and bacteria produce antibiotics as a defense mechanism against other microorganisms in their environment. These antibiotics help them compete for resources and survive in their ecological niche. Humans have harnessed this microbial warfare for medical purposes to combat bacterial infections.
Antibiotics are the chemicals produced by microorganisms to inhibit the growth of other microorganisms. most of the antibiotics are produced by fungi. Very few are produces by bacteria. For example the antibiotics Monobactum, Bacitracin and Polymixin B are produced by bacteria. They almost all act against other bacteria and not viruses. ( Amphotericin B acts against fungi and is too toxic.) In fact you do not have good drugs against viruses and then you conveniently avoid to talk about it.
fungi is very valuable as a source of vitamins and antibiotics
Give due respect to antibiotics and they will resiprocate. You kill them and they will kill you.
fungi produce antibiotics to hinder the growth of certain bacteria or a number of bacteria (broad spectrum). they were once our only source of antibiotics, but now we can synthesize them in a laboratory.
Antibiotics such as Penicillin come in different forms and methods. There is only one distinctive similarity and that is, they must kill or cut the growth of bacteria/fungi. How they do it is not important, but it must kill a range of different bacteria/fungi species otherwise it is classed as a cure for certain diseases rather than a general antibiotic (which is expected to work on most different disease types).