Posts by ServerOk

How to find Amazon S3 bucket size

To see the disk usage of an Amazon S3 bucket, do the following 1) Click on the bucket name 2) Click on Metrics 3) On Next Page, you will see S3 bucket disk usage. In this case, the bucket size is 39.3 MB. To find disk usage using awscli, run

See Amazon S3 […]

Read More…

How to install and use rdesktop

rdesktop is an open-source client for connecting to windows using Windows Remote Desktop Services. To install rdesktop on CentOS/Fedora run

To install rdesktop on Ubuntu/Debian servers, run

To connect a server with rdesktop


Read More…


sshpass is used to non interactively log in to remote SSH server and execute commands. It can use a password from a file, environment variable, or from a command-line argument. To install sshpass on RHEL/CentOS, run

On Debian/Ubuntu


Take MySQL backup on a remote server

Command-line options for sshpass are […]

Read More…

basic server utils


For non cpanel server, install epel See Server Setup […]

Read More…

First C Program

To create your first C Program, open any text editor, copy and paste the following code

Save it as hello.c Before you can run this program, you need to compile it. To compile run

Make the program executable with

To run


Read More…

Cpanel Mail Server

To see the current mail server setup on the Cpanel server, run

Cpanel Provide Following Mail servers

Roundcube mail logs in Cpanel

See exim mail server, Cpanel Server […]

Read More…