check = message.text.split()[1:]
good = []
bad = []
for x in check:
if x in text:
good.append(x)
else:
bad.append(x)
if good:
bot.send_message(message.chat.id, 'Есть {}').format(', ',join(good))
if bad:
bot.send_message(message.chat.id, 'Нету {}').format(', ',join(bad))
if not good and not bad:
bot.send_message(message.chat.id, 'Пусто')
//hostname/share /mnt/win cifs credentials=/root/credentials 0 0