In this article, we will learn how to setup and configure Jekyll Development Site. Jekyll provides the benefits of the Content Management System (CMS) with performance and security which appears in the database-driven sites. It is also called as blog-aware which has features of handling the date-organized contents. It is especially suitable for the people who work off-line, which also provides the lightweight editor with content management which has the version control for tracking the changes made on their websites.PrerequisitesA machine with Ubuntu 16.04 installed.A user with Sudo permissions on the machine.Installing the Jekyll Development Site on Ubuntu 16.04Before we ... Read More
This article will teach you on, how to schedule a corn job for executing a script or command or shell script at a particular time every day. As a system administrator, we know the importance of running the routine maintenance jobs in the background automatically. The Linux corn utility will help us to maintain these jobs to run in the background.General Syntax of a Cron JobMIN HOUR Day of month Month Day of Week Command 0-59 0-23 1-31 1-12 0-6 Any Linux command or scriptTo see a list of cron jobs which exists on the machine, run the below command ... Read More
Do you know how to remove empty lines from the file in Ubuntu? It may also be performed manually if the file has few strains but if the file has hundreds of thousands of line that is tough to be accomplished manually. This article explains you about – how to remove empty lines from a file on Ubuntu.Our sample file should be like this –Use the following command to remove the Empty lines from a file as shown below –$ ex -s +'v/\S/d' -cwq abc.txtIn the above command abc.txt indicates the file name. The sample output should be like this ... Read More
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
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
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
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
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
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
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
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP