Hatha Yoga Pradipika · by Svatmarama
Chapter 2 · Pranayama and Cleansing
प्राणायामविधिः
धौतिर्बस्तिस्तथा नेतिस्त्राटकं नौलिकं तथा ॥कपालभातिश्चैतानि षट् कर्माणि प्रचक्षते ॥ २२ ॥
Also in Gheranda Samhita 1.12
Dhauti (cloth cleansing), basti (water cleansing of the bowel) and neti (nasal cleansing) come first. Then come trataka (steady gazing), nauli (abdominal churning) and kapalabhati (rapid breathing). These are called the shatkarma (six cleansings).
Simple meaning: The six cleansings are dhauti, basti, neti, trataka, nauli and kapalabhati.
कर्मषट्कमिदं गोप्यं घटशोधनकारकम् ॥
The six cleansings clean the body and are kept secret.
चतुरंगुलविस्तारं हस्तपंचदशायतम् ॥
The text describes a cloth cleansing called dhauti done as the guru teaches.
पुनः प्रत्याहरेच्चैतदुदितं धौतिकर्म तत् ॥
The text describes the cloth cleansing called dhauti and says it removes diseases.