How to Install SSHD service on Ubuntu Linux in Seconds

The Secure Shell Daemon (SSHD) is a critical service for Linux users and administrators, providing a secure method to access remote machines over an insecure network. This service encrypts the connection between the client and the server, ensuring that sensitive information, such as passwords and user data, is transmitted securely. This comprehensive guide will walk … Read more

How to Open & Edit .PSD Files for Free Without Adobe Photoshop

Adobe Photoshop is the industry standard for graphic design, widely known for its powerful features and capabilities. However, its cost can be a barrier for hobbyists, students, or small businesses. Fortunately, there are several free alternatives available that allow you to open, view, and edit PSD (Photoshop Document) files without the need for a Photoshop … Read more

How to reset password on Brocade Silkworm switches

This article will show you how to reset the passwords for all accounts (root, admin, etc) on a Brocade Silkworm switch. This method has been successfully tested on a Silkworm 3800. But before you go through these steps, first try these passwords for the ‘root’ and ‘admin’ accounts: fibranne fibreanne password default If none of … Read more

How to call JavaScript function from PHP

This article will show you how to call a JavaScript function from within PHP code. It is quite simple actually! echo “<script language=javascript>myfunction();</script>”;

Categories PHP

How to Delete/Drop a Constraint In PostgresSQL

postgresql show tables

This article will show you how to drop a constraint, such as a foreign key constraint, on a PostgresSQL database. There are several different types of constraints and we’ll show you examples of each. Sure, here are the same instructions with headers and sub-headers: Dropping a PRIMARY KEY Constraint in PostgreSQL To remove a primary … Read more

How to compare 2 files using ‘diff’ in Linux

This article will introduce you to the diff command on Linux which is used to compare two files and display the “differences” between the two. I will also provide you with a Bash shell script to compare two files and simply output if they are the same or not. Lets begin with the basic usage … Read more

How to Generate MD5 Checksums and Validate a File in Linux [2024]

md5 checksum linux, create md5, md5 checksum

This article will explain how to generate a MD5 Checksum on a file or list of files on Linux and how to validate a file against a known checksum. We’ll give you easy-to-follow examples as well as explanations. Let’s get started! What is a MD5 Checksum? The MD5 checksum is a widely used cryptographic hash … Read more

How to Open & Uncompress a .tar.bz2 File

In the digital world, file compression is a fundamental technique to reduce file sizes for storage efficiency and faster transmission. Among various compression formats, the .tar.bz2 format stands out for its high compression ratio, especially useful for packaging a collection of files or directories into a single file. This guide delves into the process of … Read more

What is the login name and password in VMware Server 2.0?

vmware login

As virtualization technology becomes increasingly popular, tools like VMware Server have found their way into the heart of many IT infrastructures. VMware Server 2.0, a robust virtualization software, allows you to run multiple operating systems on a single host computer concurrently. However, before harnessing its powerful features, you need to know how to log in. … Read more

How to install a FTP server on Linux in 30 seconds

FTP (File Transfer Protocol) servers are a fundamental aspect of data exchange in networked systems. Particularly on Linux, an open-source platform known for its robustness and adaptability, FTP servers serve as powerful tools for managing and transferring files across network connections. From software development to web hosting, FTP servers allow users to upload, download, and … Read more

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