The command line is a text-based interface used to execute commands and manage files and processes on a computer.

How to get all keys set in memcache with prefix using command line ubuntu

Hey, today's we are talking about memcache and its storage accessing tricks or techniques

So if you want to know your installed memcache is working or not, or where the data is stored on server for memcache this article helps you to achieve this for you.

Firstly you need to install Memcache on your server you can use this link for ubuntu.

How to terminate the telnet session linux

Hi guys,

This article related to telnet terminate session many times we use command line telnet to check and access different service but somehow we want to terminate the telnet session then it will not terminate like other command Ctrl +C.

For this, We need to perform a simple shortcut like below

To Terminate the telnet session on linux 

1. type Ctrl + ] on your keyboard and hit enter, and see "telnet>" command prompt

aws Automatic create and delete snapshot script

hey guys,

If you want to create the snapshot daily of you aws instance this article is for you, previously I was use aws cli to make snapshot daily using linux cron, but few months back I found a script by caseylabs on github, following url will get you there or attached zip will also work, I recommend that download and install from URL:

https://github.com/CaseyLabs/aws-ec2-ebs-automatic-snapshot-bash

Recursively delete all files of a specific extension

Usually we all use "rm" command to delete or remove the files and folder on linux, but if we want to delete the specific type of content/files then we can use "find" command to find and "delete" command to delete;

find . -name "*.zip" -type f -delete

or enter path of directory

find /path/to/dir -name "*.zip" -type f -delete

if you to get list of all items of specfic extension you can do like this before delete -

find . -name "*.zip" -type f 

or

ls -la *zip

Install Apache Solr on Ubuntu

Install Apache Solr 7.7 on Ubuntu 18.04 & 16.04 LTS

This tutorials explains how to install solr 7 on ubuntu system

1) Install or Check Java

Apache solr 7 required java to run there application on the server. Verify java is installed or not on server first using command:

java -version

Result :

Creating a Self-Signed SSL Certificate linux/centos

Self Signed certificates are those are signed by the same individual whose identity it certifies. It usually creates for personal use or trusted use only like server login using the key file or for SAML use for website user login, there are different use of it, so let see how it will create with Linux / centos command prompt.

Firstly check if you have OpenSSL installed or not for that use command

openssl version

Fix Bug Phpmyadmin [sql.lib.php] + Php7.2 + Ubuntu 16.04

I have faced this error recently , look like this 

 

Warning in ./libraries/sql.lib.php#601

count(): Parameter must be an array or an object that implements Countable

 

This warning comes again and again when you try to access phpmyadmin databases tables ,

below solution I tried may be got help to you also :

OPEN THE BELOW FILE

/usr/share/phpmyadmin/libraries/sql.lib.php

and search for this line 

Install Multiple PHP 7.3 / 7.2 / 7.1 on Ubuntu 18.04 / Ubuntu 16.04

If you want to Install Multiple PHP version on ubuntu/Linux system then this tutorial is for you.

and on ubuntu shell using root user and follows steps below:

1) check and Update the repository cache of ubuntu.

sudo apt update

2) Install required Packages

sudo apt install -y curl wget gnupg2 ca-certificates lsb-release apt-transport-https

3) Add repository for mutiple php

Subscribe to Command line