You can use AWK or grep
awk '/error/' logfilename.txt
or grep
grep 'pattern' logfilename.txt
(read more...)You can use AWK or grep
awk '/error/' logfilename.txt
or grep
grep 'pattern' logfilename.txt
(read more...)I knew that Linux is installed at my Windows Installation. And if I choose Ubuntu among the installed apps, I could use it. But not with WSL, then the error. It was the same as from command line, PowerShell. It also didn't allow me to execute any Linux utils within 'wsl -e ... '
(read more...)Sometimes I like to use calculate different measures for one or another site. Last weekend I read about Lighthouse – it’s a part of DevTools in Google Chrome. I have already forgotten that I have such a powerful tool in my pocket and don’t use it. What is Lighthouse? Lighthouse is an open-source, automated tool for improving the performance, quality, and correctness of your web apps.
(read more...)In my PowerShell script, which updated the content at my Personal site, became errors. I really don’t know why it stopped working at one moment, but started to debug.
(read more...)Linux 'netstat' command finds out which process is listing upon a port. Obviously, you usually need it when something doesn't allow to start/restart an application or docker.
(read more...)Create a group in Linux with command line :
sudo addgroup nginxusers
sudo usermod -a -G nginxusers newusername
(read more...)