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
Articles on Trending Technologies
Technical articles with clear explanations and examples
Create Your Own Online Photo Gallery Albums Using Plogger
Plogger is a free, open-source photo gallery platform that allows you to create and manage online photo albums. Built with PHP and MySQL, it provides an intuitive interface for uploading, organizing, and sharing photos with customizable themes and plugin support. This tutorial covers the complete process of setting up Plogger, from installation to advanced customization, helping you create a professional photo gallery website. Prerequisites Before starting the installation, ensure you have the following requirements − Web server with PHP 5.3 or higher and MySQL 5.0 or higher FTP access to your web server Text editor ...
Read MoreHow to set a proxy for wget on Linux?
Wget is a Linux command-line utility used to retrieve files from the World Wide Web (WWW) using protocols like HTTP, HTTPS, and FTP. It is a freely available package that can be downloaded and installed on any Linux-supporting architecture. One of the key features of wget is its ability to automatically resume downloading where it left off in case of network issues. It also supports recursive downloads and will keep trying to download files until they are retrieved completely. Installing wget For Ubuntu/Debian sudo apt-get install wget For CentOS/RHEL/Fedora sudo yum ...
Read MoreWhat are the different system calls in the operating system?
System calls are programming interfaces that allow applications to request services from the operating system kernel. They provide a controlled way for user programs to interact with hardware resources, files, processes, and other system components. The operating system provides different categories of system calls to handle various types of operations. The different system calls are as follows − System calls for Process management System calls for File management System calls for Directory management System calls for Device management System calls for Information maintenance System calls for Communication Let us understand them one by one. ...
Read MoreHow to Add a String After Each Line in a File in Linux?
We occasionally need to make changes to files quickly, preferably from the command line. One common task is adding a string to the end of each line of a file. In this article, we'll explore several methods to accomplish this using various Linux commands. We'll use a sample file called language.txt throughout this article. Let's first create and populate this file − $ touch language.txt $ cat > language.txt Hindi English Chinese Spanish ^D Our goal is to append the phrase "is a good language to learn" to the end of each line in the ...
Read MoreGet the Full Path of a File in Linux
Every file and folder in Linux has a path that directs the user to it. This path is required for programs and scripts to locate and access files. There are various ways to locate the path to a file or folder if you need to. We can get a full file path with different commands on a Linux machine. In this tutorial, we'll show you how to obtain a file's complete path in Linux using multiple command-line methods. Understanding File Paths in Linux In Linux, there are two different kinds of paths: absolute and relative. A forward ...
Read MoreDifference Between .bashrc, .bash-profile, and .profile
When working with the command line on Unix or Linux systems, three configuration files play crucial roles in setting up your shell environment: .bashrc, .bash_profile, and .profile. Understanding when and how these files are executed is essential for effective shell customization and environment management. How Shell Configuration Files Work These files contain shell commands that are automatically executed at specific times during shell initialization. The key difference lies in when they are executed: Login shells − Started when you log into the system (SSH, console login) Non-login shells − Started when you open a new terminal ...
Read MoreUsing grep on Files That Match Specific Criteria
The grep (global regular expression print) command is a powerful text-processing utility that searches for specific patterns in files using regular expressions. It filters and displays lines containing the specified pattern, making it one of the most essential commands for system administrators and developers on Unix/Linux systems. Unlike other operating systems, finding content within files in Linux is straightforward with grep. This command can search through single files, multiple files, or entire directories, displaying matching lines or just the filenames that contain your search pattern. When using grep, keep these important points in mind: Grep is ...
Read MoreHow to Delete Line in Vim on Linux?
Vim (Vi IMproved) is one of the most popular text editors used in the Linux environment. It is a command-line based editor that was initially developed as a free and open-source alternative to the widely-used Vi editor. However, Vim has evolved to be much more than just an alternative. It has become an indispensable tool for programmers, system administrators, and power users who work with text files regularly. One of the primary reasons why Vim is so important for Linux users is its efficiency and flexibility. Unlike traditional graphical user interface (GUI) editors, Vim focuses on quick navigation and ...
Read MoreCreate Your Own Video Sharing Website using ‘CumulusClips Script’ in Linux
Creating a video sharing website can be a challenging task, but with the right tools, it becomes manageable and rewarding. CumulusClips is a popular open-source video sharing script that allows you to build your own platform similar to YouTube or Vimeo on a Linux server. What is CumulusClips? CumulusClips is an open-source video sharing script written in PHP that uses MySQL as its backend database. It provides a user-friendly interface for uploading, managing, and sharing videos with features comparable to major video platforms. Features Supports multiple video formats including MP4, WebM, and FLV Responsive design ...
Read MoreHow to set the environmental variable LD_LIBRARY_PATH in Linux?
LD_LIBRARY_PATH is an environment variable in Linux that tells the dynamic linker where to look for shared libraries at runtime. Setting this variable allows applications to find custom libraries that are not installed in standard system directories like /usr/lib or /lib. There are several ways to set environment variables in Linux, ranging from temporary session-based settings to permanent system-wide configurations. Let's explore how to properly set the LD_LIBRARY_PATH environment variable. Setting Environment Variables Permanently To set an environment variable permanently for your user session, you need to modify your shell's configuration file. Follow these steps to set ...
Read More