When I’m playing with CentOS7 docker image on MacBookPro M1, it looks like it doesn’t connect to the servers which require HTTPS connection. For example, when I run yum -y update the command it returns curl: (77) Problem with the SSL CA cert (path? access rights?). Hmm, it looks like an OS Bug because my…
Category: Linux
Extend your ec2 Linux disk without reboot on Amazon Web Services
For some reason, you have to extend your ec2 Linux server with our reboot and securely. In this port, you will learn how you can extend your ec2 Linux disk on aws. In this example, you will see extend the disk size from 80GiB to 120GiB. Step 1: Modify Volume Login to your AWS Console…
Find large files in CentOS, ubuntu and MacOS easily
Sometimes, maybe everybody needs to check large files in the system. There some useful commands which I’m using often. Find the big files in Linux easily. Here is the first pattern: If file size more than 250 MB in the system: Here is the results:
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…