Install and Use Command Line Cheat Sheets on Ubuntu

Sharon Christine
Updated on 20-Jan-2020 10:42:56

395 Views

Cheat is a command line primarily based on Python software that lets in system administrators to view and save helpful cheat sheets. It retrieves simple-text examples of a delegated command which will remind the user of alternatives, arguments, or commonplace makes use of. Cheat is used for “commands which you use frequently, however now not frequently sufficient to consider”Installing CheatBefore installing Cheat, we need to make sure that everything’s up to date on the system as shown in the below command –$ sudo apt-get update && sudo apt-get upgradeInstalling Cheat is best done with the Python package manager Pip. To ... Read More

Recursively Search All Files for Strings on Linux

karthikeya Boyini
Updated on 20-Jan-2020 10:38:44

14K+ Views

The grep command is used to search text or scans the given record for lines containing a match to the given strings or words. Use grep to search for lines of text that match one or many regular expressions, and outputs only the matching lines. Using the grep command, we can recursively search all files for a string on a Linux.Syntax of is shown as below-$ grep -r "word"For example, for searching “Linux” word in Downloads directory. The command should be like this~/Downloads$ grep -r "Linux"The sample output should be like this –zookeeper_installation.htm:Any of Linux OS − Supports development and ... Read More

Reclaim Your Smartphone's Storage Space Quickly

karthikeya Boyini
Updated on 20-Jan-2020 10:37:04

144 Views

A smartphone is not just a phone, it can be a phone, a music player, a video player, a radio, an electronic musical instrument, a GPS, a gaming console, a heart rate monitor, a personal trainer, a digital camera, a document scanner, a messenger, a word processor, a personal pocket computer and the list of infinite possibilities goes on and on beyond your expectation, even beyond your imagination.Not only a gadget, a smartphone can be a status symbol for a huge number of people. A smartphone reflects and complements the personality of its owner. There is only one answer to ... Read More

Quickly Install WordPress on Ubuntu Linux Mint

karthikeya Boyini
Updated on 20-Jan-2020 10:29:08

1K+ Views

WordPress is a free and open source website and blogging tool and it is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. This article describes “How to install WordPress on Linux with bash script”. Bash script automatically downloads and installs the latest version of WordPress in any place of your choice.Installing LAMPTo install and run WordPress on your system, pre-installation on your web server is required.Use the following command to install LAMP web server.$ sudo apt-get install lamp-server^The ... Read More

Install and Setup Sphinx on Ubuntu 16.04

Sharon Christine
Updated on 20-Jan-2020 10:27:28

456 Views

In this article, we will learn about how to install and setup Sphinx on Ubunt 16.04, Sphinx is an open source search engine which allows for full test searches, and is best in performing searches with a huge data very effectively where the data can be from any sources, (Ex − SQL Databases, plain text files, etc., )Features of the SphinxAdvanced indexes and good tool for querying.High Searching performance and indexes.Advances result for post-processing.Easily scalable with advanced searches.Can be integrated with SQL and XML sources.Can be scalable for handing the huge data with 1000’s of queries.PrerequisitesBefore we begin we needed ... Read More

Find Elements of an Array Divisible by N Using STL in C++

Sunidhi Bansal
Updated on 20-Jan-2020 10:26:44

259 Views

Given with an array and the task is to find the number which are divisible by N using standard template library in C++.To solve this problem we are using the function count_if() present in C++ standard template library.What is a count_if() function?Syntaxcount_if(LowerBound, UpperBound, function)Description − This function returns the number of elements in an array that satisfies the given condition. It takes three parameters.Lower Bound − It points to the first element of an array or any other sequence.Upper Bound − It points to the last element of an array or any other sequence.Function − It returns the Boolean value ... Read More

Prepare for TOEFL Exam

karthikeya Boyini
Updated on 20-Jan-2020 10:23:47

281 Views

TOEFL stands for Test of English as Foreign Language. It is to measure the English language ability of non-native speakers who wish to study in American universities. The easiest way to register for the TOEFL exam is by logging on the official website where all steps are properly explained and students can take the test as per the schedule provided on the website.Format of TOEFLThis is offered in two formats, paper-based test and internet based which is more predominantly used. It is a 4-hour test with a 10-minute break and consists of four sections. Namely, Reading, Listening, Speaking, and Writing.The ... Read More

Install and Get Started with Symfony 2 on Ubuntu

Sharon Christine
Updated on 20-Jan-2020 10:21:00

236 Views

Symfony is a full-stack, open-source PHP framework. It’s well known for its independent components which can be easily integrated into any other PHP project. The Symfony framework is suitable for building personal home page applications of any length, consisting of console programs supposed to run only at the command line. This article explains about – How to install and get started with symfony 2 on Ubuntu.Before we get started out, we’ll want to put in PHP for the command line environment. To install the php7.0-cli package, use the following command-$ sudo apt-get install php7.0-cliYou should now have PHP installed on ... Read More

Find Odd and Even Elements of an Array Using STL in C++

Sunidhi Bansal
Updated on 20-Jan-2020 10:18:07

332 Views

Given with an array and the task is to find the number of odd and even elements in an array using standard template library in C++.To solve this problem we are using the function count_if() present in C++ standard template library. What is a count_if() function?Syntaxcount_if(LowerBound, UpperBound, function)Description − This function returns the number of elements in an array that satisfies the given condition. It takes three parameters.Lower Bound − It points to the first element of an array or any other sequence.Upper Bound − It points to the last element of an array or any other sequence.Function − It ... Read More

isprint Function in C++

Sunidhi Bansal
Updated on 20-Jan-2020 10:15:22

366 Views

Isprint() in C++ is inbuilt function in “cctype.h” header file which checks whether the character is printable or not.Isprint returns true for constant cases as Isprint aside from the house character (' '), that returns true.A locale-specific model version of this function (Isprint) exists in cctype header file.-Isprint() function can be used to check any Non-Printing character in a series of sentences.-Isprint() is an Inbuilt function that provides efficient way to handle non printing characters-Isprint() helps to minimize the lines of code for programmer.-Isprint() is in true sense decreases the compilation time of program.Including cctype.h in your program not only ... Read More

Advertisements