can you teach me how to compress a directory in my linux server using tarball

i forgot the command i had it somewhere but i can't find it anymore hahaha

sorry to bug you but i really like your support