Error: No space left on the device when starting/stopping services only
I’m using Amazon SSM Agent for connecting to EC2 instance via securely. Amazon SSM Agent is also able to connect to the EC2 instance console via aws.amazon.com web console. So, this is my preferred way. About a few days ago, when I tried to connect to EC2 via Amazon SSM Agent it doesn’t respond and…
Download specific file extension via wget easily on terminal
Sometimes, there may be files with more than one extension in a directory or folder. For example, .jpg, .png, .gif, .mp3, .mp4 etc. You want to download only gif files specifically from that source, but don’t know how to do this? Don’t be afraid, you’re right. wget is small software with a GNU license (i.e.…
Find the exact size of certain files in Linux via terminal
One day, there may be a lot of files in more than one extension in the macOS, Linux or server you use, and you may be wondering about the size of these files or just want to see the size of the files with the corresponding extension for a specific study. The other day, the…
Disable SELinux on CentOS 7 or CentOS 8
This tutorial shows you how you can disable SELinux (Security-Enhanced Linux) on your CentOS server. The CentOS version should be 7 or 8. The version does not matter. What is SELinux? SELinux is a security mechanism directly controlling by the kernel. It allows administrators and users more control over access controls on access based SELinux…