how to create and remove desktop icons from shell scripts

hi all

how to create and remove desktop icons or icons from shell scripts?

which OS ?
i cant read minds (yet)
post more info (alot more info)