
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 1466 Articles for Linux

420 Views
Introduction The GitOps methodology organizes and maintains the infrastructure for a project. By pushing a change to source control, a git commit triggers an update to cloud infrastructure or applications. In GitOps, changes in Git trigger builds and deployments of infrastructure and applications, so Git is the only source of truth. It is common for companies to use GitOps in conjunction with Kubernetes as their container orchestration platform. In this article, we will explore Gitops in detail and why we need to use them What is GitOps GitOps is a subdiscipline of DevOps with similar aims, including speed and efficiency. ... Read More

1K+ Views
Introduction Bare repositories are the same as default, but they cannot be committed to. Bare repositories do not have a working tree, so they cannot track changes made to projects. All project files/subdirectories are stored in a working tree. All project files are stored in a specific folder within the bare repository, which is basically a .git folder. In this article, we will explore more about bare repositories What is Git Repository A Git repository contains a collection of files and folders that track the history of your codebase's changes. It has been extremely useful for me as a ... Read More

15K+ Views
When working with the Linux shell, reading text files is often an important operation. Sometimes, we may be interested in reading a specific line from a file. We’ll take a look at different ways to get a specific piece of text out of a file. The actual Problem Let’s take a look at an example. let's say we have a file called "test.txt" − $ nl test.txt 1 This is line 1, I don't have any interesting data. 2 This is line 2, I don't have any interesting data. 3 This is line 3, I don't have any interesting data. ... Read More

3K+ Views
We can often get away without checking for total memory usage on servers running Linux. However, sometimes we may want to know the total memory available on our servers. Luckily, there are various ways to accomplish this task. In this tutorial, I’ll show you some of them. Using free Command free is the simplest among the various commands we'll encounter. It's used to display the current amount of physical and virtual RAM (RAM) being utilized by your system. By default, it outputs to standard out. You can run the free utility without any flags to get an idea about how ... Read More

1K+ Views
If we're going to use a NoSQL DB for our app, then we want something fast and easy to use. We learn that "NoSQL" doesn't necessarily imply "no maintenance". We think about using managed hosting services like MongoDB's Atlas or Amazon's DynamoDB, but we choose to host it ourselves, whether on our premises or in our own cloud instance. We evaluate several NoSQL options including Redis and Cassandra and pick MongoDB. We may be able to get it installed by installing it from our Linux distribution, using Mongo’s repositories, or using a snap. But if something goes wrong, we might ... Read More

15K+ Views
Bash is a BourNeSh (Bourne Again ShEl) which is an improved variant oF thE origiNal Bourne shEll.It is used to run programs in the Bash programming language, and is often referred to as "the default shell" for Linux distributions. Sh is a simple commandinterpreter for the UNIX System V Release 4.0. Both Bash and sh can be used to write scripts in various languages such as Perl, Python, Ruby, PHP, Java, C++, JavaScript, Tcl, SQL, and others. sh #!/bin/sh bash #!/bin/bash Note A shell is an interface between the end-users and the operating systems. sh implements the ... Read More

973 Views
Some software reads an entire input file into memory before processing it. If the input file contains a very long string, the software may crash if there isn't enough memory to hold the entire string. We’ll look at ways to change a single character in a very large one-liner file in Linux. Some applications cannot handle very large one-liners, so we’ll examine our options. Target File Some modern JavaScript frameworks compress all of the code onto a single statement. Let’s say we have a one-liner of JavaScript code called original.js with an error in it. It calls “fliter“ instead of ... Read More

3K+ Views
Github is an online source code repository and hosting service for open-source projects, which provides the ability to host, version control, review, fork, and submit changes to any project hosted there. The following steps will help you download a tarball of your choice from github.com − By using git clone Download Git repository as a tar or zip file You can use either the command line tool "Github" (which is installed by default) or the GUI client "SourceTree". However, if you don't have these tools, you can download the source code in tar format and extract its contents ... Read More

5K+ Views
A Linux command that you run from a terminal window can be built-in (a part of the system), a function (an application that runs when you enter certain commands), an alias (another name for a command), or an external executable (a program that you download). You can use the which, command, whereis, whatis, and type tools to determine what each one is and where they are located. We will look at the which, command, types, and whereis commands as they are usually found in most Linux-Based OSs. So let’s explore how to get the path of a Linux command in ... Read More

650 Views
Introduction On various occasions, we desired to combine PDF files to organise them, lessen clutter, or share them with others. Linux provides a variety of utilities for merging pdf files. Some of the most popular ones are listed below − pdfunite pdftk gs convert qpdf These application tools have a lot of functions, and for this article, we will concentrate on their file-merging functionality. Let's examine some of them individually. pdfunite "pdfunite" is the tool's name in the Poppler Utils package that merges PDF files. The use of pdfunite is rather easy. Use the DNF command below to ... Read More