This is something I need to do occasionally, that is, to add or remove cached git credentials on a Linux server. To add when you need to set up a git repository for a new project on new server for…
Category: Linux
How to Install and Switch between Multiple Python Versions on Mac
In this simple tutorial I will demonstrate to Install and Switch between Multiple Python Versions on Mac. Sometimes you want to use latest version for your new application while you may need a minimum version of python such as 2.7.*…
How to replace special characters in filenames to fix 404 not found issue in website running on nginx
It is recommended to not include special character in filenames, such as apostrophe(‘), double quote(“), percent(%) etc. Special characters in filenames of the files uploaded to a web server should be avoided for various reasons. It may cause unexpected behaviour,…
How to Install Let’s Encrypt (Certbot) on Ubuntu 20.04
Certbot is a command line tool for managing Let’s Encrypt SSL certificates on Linux operating system. It may allow you to request install free SSL certificate on your website domain. It also performs the authorization and configure your web server…
ec2-user, apache and WordPress user:group permissions on Amazon Linux 2
There is a very (in)famous permissions glitch or settings if you host your WordPress website on Amazon Linux instance. If you keep user:group permissions to default ec2-user:apache then you are able to login to sftp and download upload files just…
Transfer files via ssh from your server to Dropbox
Server to Dropbox – Sometime it is tedious to download files from your server and then uploading to your dropbox via sync since it takes long time. In this post I will show you how you can quickly transfer files to…
How to Find Out Top Directories and Files (Disk Space) in Linux
As a Linux administrator, you must check time to time which files and folders are eating more disk space. It is very necessary to find the unnecessary junks and free up them from your hard disk to avoid overrunning the…
10 Useful du (Disk Usage) Commands to Find Disk Usage of Files and Directories
The Linux du (abbreviation of “Disk Usage”) is a standard Unix/Linux command which is used to check the disk usage of files and directories. The du command has many parameters that can be used to get the results in different…
Get Started with Vi Editor
Vi editor is a command line text editor. It’s a single window with text input and output only. It is the most popular and classic text editor in the Linux and it is available in all Linux Distributions. There are…
How to receive an email alert for disk usage on linux server
Certain actions on your online application need ample free space on disk to complete. For example, when you want to install new software. Even when you want to run updates on your server your server needs free memory and space…