Linux 101: Append String/Data To A File

rpm dependencies, linux, ubuntu

This article will show you how to append to a file in Bash Linux, such as a string. All of the following examples should work on all major Linux distributions like Ubuntu, CentOS, RHEL, Arch, and Fedora. One of the most essential skills for users and system administrators alike is the ability to manage and … Read more

How to SCP (Secure Copy) files using PHP5

This article will explain how to SCP (Secure Copy) files using PHP5. SCP is a secure method of copying files from one host to another using the SSH protocol. Here is a snippet of working code to help get you started! $hostname = “target_host”; $username = “root”; $password = “password”; $sourceFile = “test.txt”; $targetFile = … Read more

Categories PHP

Beginner’s guide to RPM installation on Linux

install rpm linux, ubuntu

This guide will take you through the basics of RPM and show you how to install it on different Linux server distributions: Ubuntu, CentOS, Fedora, and Red Hat Enterprise Linux (RHEL). In the world of Linux, mastering the art of installing, upgrading, and removing software packages is crucial. These tasks are generally handled by what’s … Read more

How to List All Installed RPM Packages in Linux

bash, command-line, linux

This article will show you to how to list of all installed RPM packages on Linux distributions like Ubuntu, CentOS, RHEL, and Fedora. We’ll show you how to solve this using the rpm and dpkg commands. RPM (Red Hat Package Manager) is used by distributions such as CentOS, RHEL, and Fedora for package management. Ubuntu, … Read more

How to create/remove symlinks (symbolic link) in Linux

rpm dependencies, linux, ubuntu

This article will show you how to create and delete symbolic links on a Linux system such as Ubuntu, Red Hat, and other Linux distributions.  A symbolic link is a file that points to another file. Note that there is only 1 copy of the actual file on the hard disk, thus saving valuable hard … Read more

Find amount of physical memory (RAM) under Linux

linux how much memory

Understanding the amount of RAM (Random Access Memory) on your Linux system is crucial for optimizing performance and ensuring efficient resource management. Whether you’re a system administrator, a developer, or a casual user, knowing how to check your RAM details can help you make informed decisions about running applications, troubleshooting, and system upgrades. This guide … Read more

Find the CPU (processor) speed and model under Linux

linux cpu speed model

Understanding the performance capabilities of your Linux system is more vital than ever. Whether you’re a software developer testing an application, a sysadmin maintaining servers or an everyday user simply looking to optimize your system performance, knowing your CPU speed and model under Linux is a key piece of the puzzle. Today, we’ll delve into … Read more

Linux – How to Find the Number of Files in a Directory

number of files, linux, ubuntu, red hat

In this guide, we’ll dive into various methods to determine the number of files within a Linux directory. Whether you’re dealing with a handful of files or managing complex directory structures, understanding how to accurately count files is crucial for effective file management. We’ll cover simple to advanced techniques, ensuring you can tackle any scenario … Read more

How to Run a Linux Script on Startup: A Detailed Guide

linux, shell bash, ubuntu

Running a script or application at Linux startup can be a major time-saver for system administrators and users who need certain tasks to execute automatically upon booting up their systems. Whether you are looking to perform routine maintenance tasks, start applications, or automate complex processes, understanding how to run a script at startup in Linux … Read more

Find PostgreSQL database size using SQL ‘Select’

postgresql show tables

This article will show you a very simple way to find the size of a PostgreSQL database using a SQL SELECT statement. This will work on PostgreSQL version 8.3.3, but should work on older versions as well. Looking for optimize your database performance, check out How to find when PostgreSQL tables were auto-vacuumed and auto-analyzed … Read more

Guide to Mounting ISO Images in 3 Popular Linux Distributions

mount image in linux, virtual drive linux, cd image, dvd image

This article will explain how to mount an ISO image quickly and easily on Linux without downloading any additional software. If you are on a Windows operating system, check out the article: How to mount an ISO on Windows XP and Windows Vista. ISO image files are often used in the distribution of software or … Read more

How to mount an ISO/IMG image in Windows XP/7

virtual drive, mount image, mount iso, windows

This article will explain two different methods on mount an ISO/IMG image on Windows XP and Windows 7 as a virtual drive. The first option will work on all Windows flavors and for .iso, .bin, .cue, .uif, .nrg, and .img file extensions. The second option works on Windows XP only and supports only .iso files. … Read more

Find large files on Linux: 5 Command-line Examples

find large files, linux, big files, largest files

In this blog post, we’ll walk you through five command-line examples that can help you pinpoint the largest files in your Linux system. When it comes to Linux system administration, monitoring disk usage is a critical task. But how do we find the largest files eating up valuable disk space? It’s easier than you might … Read more