All Posts tagged as "command line tools"

Converting MySQL database to SQlite3 format

SQlite3 is a lightweight relational database that can be used in place of relational database servers such as MySQL and PostgreSQL. SQLite3 databases are commonly used in Mobile applications. In contrast to most relational databases, a SQLite3 database is a single independent file. The file has a .db extension. Most programming languages such as Python and PHP provide libraries for accessing SQLite3 databases.

Read

Linux Command Line Tools - Quick Tips

Following are some quick tips related to Linux Command Line Tools:

Read

Generating free SSL certificate from LetsEncrypt on localhost

If your website hosting allows uploading SSL certificates but does not allow SSH access and you need a SSL certificate for your website, then a free SSL certificate from LetsEncrypt is a good option.

Read

How To Change Account Passwords on an OpenLDAP Server

To change the LDAP admin password, we need to first save the rootdn account information. We can do this with the command:

Read

Viewing package information using yum history command

The yum history command displays list of all commands used to install or remove packages using yum package manager. The list is ordered by date and id. Each history item is called a transaction.

Read

Backing up and restoring LXD containers

LXD containers can be backed up by creating snapshots or by creating an image from the container. The first method which is creating snapshots is useful for taking quick incremental backups of containers. However it does not provide a full backup. The second method allows creating full backup.

Read

Running multiple versions of mailx command

Certain commands in Linux can be provided by multiple packages. The command provided by each package may differ. For example the mailx command is provided by the bsd-mailx package as well as the heirloom-mailx package. The mailx command provided by the packages use different command line parameters.

Read

Resizing Linux root partitions without unmount on Google Cloud

Virtual machines often run out of disk space and require resizing. Resizing root partitions without unmounting is always risky. It is recommended to take a backup of the partition's useful data before resizing the partition.

Read

Permanently authenticating with remote git repositories

Some times we need to non-interactively run scripts which commit to git source code repositories that are hosted remotely. For example we may want push changes to a git repository stored on Bit Bucket. Normally we will be asked to enter our Bit Bucket credentials, but this can be automated.

Read

Using Redir command for redirecting ports

Redir is a very useful command line script that allows port redirection. The script listens on the given TCP port and forwards incoming connection to the given IP address and port

Read