Архив рубрики: main

main commands

pwd — full directory

tail -10000 /sites/project/log/production.log | grep «Completed 200 OK in \d{6}» -P -B 20 —color

whois 89.250.166.74

ps aux | grep nginx
tail -f /opt/nginx/logs/*
tail -f /sites/project/log/*
tail -f /var/log/maillog
tail -f /opt/nginx/logs/*

/opt/nginx/sbin/nginx

/opt/nginx/sbin/nginx -s stop

kill -9 26889

ps aux | grep rub

ll -lh log/