Budget: 200 UAH Deadline: 1 day
find /var -perm -o-w -type f -exec sed -n 2p {} \; | wc -w
вот команда.
Если нужно могу упаковать в .sh файлик с комментариями.
у каталозі /var знайти файли які заборонені для запису для інших, вивести на екран 2-гі рядки з цих файлів, порахувати загальну кількість слів в усіх рядках разом.
Написать скрип решения этой задачи при помощи команд Unix что б выполнялись в консоле
Budget: 200 UAH Deadline: 1 day
find /var -perm -o-w -type f -exec sed -n 2p {} \; | wc -w
вот команда.
Если нужно могу упаковать в .sh файлик с комментариями.
Budget: 100 UAH Deadline: 1 day
Доброго времени суток! Я достаточно много работаю с языком bash (который используется в ОС семейства Linux) и достаточно владею консолью, поэтому за символическую оплату готов написать скрипт в течении суток.
Ещё вопрос - запрашивается ввод пользователя, или скрипт работает от рута (суперпользователя) и проверяет что только он может писать?
Ты зачем на iT специальность пошел? Желаю чтобы в случае чего тебя лечил врач который учился так же как и ты.
Looking for an experienced Linux System Administrator / DevOps to diagnose the causes of periodic crashes of the online store. It is necessary not to temporarily eliminate the symptoms, but to find the root cause of the problem, explain it, and propose an optimal solution.What is known The online store has been operating for over 15 years. Linux server. PHP 5.6. MySQL. OPcache is enabled. SSH access is available. Access to the hosting panel is available. Access to logs is available. Server load graphs have been added.Symptoms Periodically: the site stops opening; errors occur: 503 Service Unavailable; HTTP 508; Client.Timeout exceeded while awaiting headers; the response time of the site sometimes increases to 8–11 seconds. Sharp peaks in CPU, memory, and Entry Processes are observed in the load graphs. No critical errors were found in the available PHP logs.Required to conduct a full diagnosis; to find the root cause of the problem; to identify the bottleneck; to explain the cause of the crashes; to propose an optimal way to eliminate it; to perform the necessary work after approval.Mandatory experience Linux; SSH; Apache / Nginx / OpenLiteSpeed; PHP; MySQL; server performance optimization; finding the causes of periodic crashes and high load.Before starting work, please answer How many years have you worked with Linux servers? Have you had experience in finding similar problems? What tools do you plan to use for diagnosis? Have you worked with old PHP projects (PHP 5.x)? What is the cost of the initial diagnosis? What is your hourly rate for further work (if needed)? When can you start? Please do not send template proposals. In your response, briefly describe what you will check first. If the problem is successfully identified and resolved, I am ready for long-term cooperation in server administration and development.