Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Linux Articles
Page 45 of 134
Linux Package Management with Aptitude
Aptitude is a text-based front-end for APT (Advanced Package Tool) built on the Ncurses library, designed for Debian-based systems. It provides an interactive interface for package management and runs from the terminal or command line interface. This article explains Linux Package Management with Aptitude and APT commands. What is APT APT is a command-line package manager that provides commands for searching, managing, and querying information about packages. It offers the same functionality as specialized APT tools like apt-get and apt-cache, but with options more suitable for interactive use by default. To get more information about APT, use ...
Read MoreThe Best Linux based OS Distributions in 2016
This article helps you understand the key features of Linux operating systems to choose the right distribution for your environment. The year 2016 marked a crucial period for Linux, especially in enterprise-level and consumer segments. As Linux has evolved significantly over the past two decades, various distributions now cater to specific use cases and requirements. Free/Open Source Server Distributions Debian and CentOS For server deployments requiring free or open-source solutions without subscription fees (unlike RHEL or SLE), Debian and CentOS are excellent choices. These community-based distributions offer high standards for server environments with long-term support, eliminating concerns ...
Read MoreRainbow Stream – An Advanced Command-line Twitter Client for Linux
Rainbow Stream is a free and open-source Twitter client for Linux command-line, released under MIT License. It is capable of showing real-time tweet streams, composing tweets, searching, favoriting, and more. It is written in Python and built on top of Twitter API and Python Twitter Tool. To run this application in your console you must have installed Python and pip version 2.7.x or 3.x. Features Free and open-source Twitter client for Linux command-line Capable of rendering Twitter images in terminal Supports proxy connections Interactive mode support Theme customization capabilities Real-time Twitter stream display Tweet, search, and favorite ...
Read MoreBest Way to Install Go 1.7 on Ubuntu
Go is a free and open source programming language created by Google in 2007. It provides convenient tools to build simple, reliable, and efficient programs. This language is designed for writing server-side applications. This article explains how to install Go 1.7 on Ubuntu systems. Installing Go Programming Language To download the Go language binary archive file, use the following command − $ wget https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz The sample output should be like this − --2016-12-29 10:49:44-- https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz Resolving storage.googleapis.com (storage.googleapis.com)... 216.58.197.48, 2404:6800:4007:807::2010 Connecting to storage.googleapis.com (storage.googleapis.com)|216.58.197.48|:443... connected. HTTP request sent, awaiting response... 200 OK ...
Read MoreHow to Install and Configure Caching-Only DNS Server on Linux
This article will show you how to configure a DNS caching server (also called a forwarding server) in a local environment using BIND. DNS (Domain Name System) servers are critical infrastructure components for proper website and server operation. While many users rely on DNS servers provided by hosting companies or domain controllers, setting up a local caching DNS server can improve performance and reduce external dependencies. What is a Caching DNS Server A caching DNS server stores DNS query results locally to speed up future requests. These servers are called resolvers because they handle recursive queries and perform ...
Read MoreHow to Recursively Search all Files for Strings on a Linux
The grep command is used to search text and scan files for lines containing a match to given strings or words. It searches for lines that match regular expressions and outputs only the matching lines. Using grep with the recursive option, we can search through all files in a directory and its subdirectories for specific strings on Linux. Basic Recursive Search Syntax The basic syntax for recursive searching is: $ grep -r "search_term" /path/to/directory If no directory is specified, grep searches the current directory: $ grep -r "search_term" Examples ...
Read MoreHow to Run a Cron Job Every Day on a Linux System
This article will teach you how to schedule a cron job for executing a script, command, or shell script at a particular time every day. As a system administrator, we know the importance of running routine maintenance jobs in the background automatically. The Linux cron utility helps us maintain these jobs to run automatically without manual intervention. General Syntax of a Cron Job The cron job format consists of five time fields followed by the command to execute − MIN HOUR Day_of_Month Month Day_of_Week Command 0-59 0-23 1-31 1-12 0-6 Any Linux command or script ...
Read MoreHow to Use 'cat' and 'tac' Commands with Examples in Linux
The cat command is a fundamental Linux utility that reads files sequentially and displays their contents to standard output. The name is derived from its function for concatenating and listing files. The tac command (which is "cat" spelled backwards) performs a similar function but displays file contents in reverse order, printing the last line first. Basic cat Command Usage The simplest usage of cat is to display file contents: $ cat text.txt I love tutorialspoint.com This command reads the file and displays its content to stdout (standard output) on your terminal. ...
Read MoreHow to Protect Files and Directories from Deleting in Linux
The chattr (change attribute) command is a powerful Linux utility that allows system administrators to set or unset specific attributes on files and directories. This tool provides an additional layer of protection against accidental deletion or modification, even when logged in as the root user. It's particularly useful for protecting critical system files, configuration files, and important data. This article demonstrates how to use chattr to safeguard your files and directories from unauthorized or accidental deletion, providing essential security for sensitive content. How chattr Works The chattr command modifies file attributes at the filesystem level. The most ...
Read MoreHow to Add Cron Jobs to A Specific User in a Linux System
This article will teach you how to schedule cron jobs for specific users in a Linux system. Cron is a time-based job scheduler that allows you to execute commands or scripts automatically at specified times and dates. General Syntax of a Cron Job MIN HOUR Day of month Month Day of Week Command 0-59 0-23 1-31 1-12 ...
Read More