The Hindu community in Kashmir, along with tourists, celebrated Mahashivaratri here on Wednesday.