Linux

Common usages of grep and find in Linux

It is so common need to dig some info in Linux remote machines where you have just a terminal access. Effectiveness of searching might be crucial in finding necessary files and content. Here are couple of commands come to help as: grep – search in file contents find – search by file name It happens that sometimes quite difficult to…

Continue Reading

Linux

How to run Linux command in background? How to keep it running after leaving terminal session?

When working with remote server through terminal it is common to run some processes in background. For example to start zipping something, put it into background and keep working on something else. Or even start a process and leave it running when you quit a terminal session. A quite common example could be – start application server. You just need…

Continue Reading

Linux

How to check memory (RAM) usage in Linux?

Once we face some memory issues in linux server, usually first of all check disk space. It might be the case that some applications stuffed it with log files or some other content. Here are few instructions how to do that – How to identify which files take most of the disk space in Linux?. However disk space might be totally…

Continue Reading

Linux

Ubuntu vpn connects successfully and shortly thereafter fails – network traffic stops – either VPN and local network

I’ve started to use Ubuntu for my job needs and experienced first pretty annoying challenge with VPN connection. I’m using openvpn client with network manager. After successfull connect to VPN server I can use local and remote networks with no problem. After a while – like 1 -10 minutes , sometimes a bit longer up to couple hours or sometimes…

Continue Reading