How to Find Files Owned by Group(s) in Linux

bash arguments, pass parameter, pass argument to script

Here is powerful and simple use for the Linux find command – finding files or folders by one or more groups. Let’s get right onto the examples: Find files by group students find -type f . -group students Find folders/directories by group students find -type d . -group students Find files by groups student and teachers find -type … Read more

How to Find Files Owned by Users(s) in Linux

bash arguments, pass parameter, pass argument to script

The find command in Linux/Unix is extremely powerful and can take some time to learn all of its uses. In previous articles, we have explained how to it to find files greater than or less than a certain size, find number of files in a folder, and finding the largest files on your computer. This article … Read more

Solved: incompatible implicit declaration of built-in function ‘bzero’

While using the bzero() function you may have run into the message warning: incompatible implicit declaration of built-in function ‘bzero’. The solution for this common, annoying, message is straightforward. Simply include the header file <string.h> and the warning will go away! What is bzero? bzero() is a function in C and C++ programming languages, commonly used in … Read more

Insert/Add String to Beginning of a File

bash arguments, pass parameter, pass argument to script

In a previous article, I showed you how to append a string to the end of file. Now I will show you how to insert a string to the beginning of a file in Linux. The solution is not as obvious as the former, but I will show you a quick and easy way using … Read more

Fix “Unable to Fetch Some Archives” Error in Ubuntu

If you’ve ever seen the dreaded “Unable to fetch some archives, maybe run apt-get update or try with –fix-missing” error while updating or installing software on your Ubuntu or Debian system, you’re not alone. It’s one of those errors that pops up at the worst time and can grind your system maintenance tasks to a … Read more

How to install Ruby 1.8.7 on CentOS 5.5 Linux

ruby, php, java, python code

Have you tried doing yum install ruby in CentOS 5.5? If you have the default repositories configured, you will notice that it installs the ancient Ruby 1.8.5. Not ready to move up to Ruby 1.9, but would like to install Ruby 1.8.7 – well here is how to do it! Install Ruby 1.8.7 on CentOS … Read more

How to disable ‘Last Login’ welcome message in Linux

last login message

When you log into a Linux system, especially via SSH, you might notice a message displaying the time and date of your last login. This feature, while useful for tracking access and detecting unauthorized logins, may not be necessary for everyone. Some users prefer a cleaner terminal interface without distractions. In this guide, we’ll show … Read more

4 Free Ways to Convert a PDF to Text File on Linux

convert pdf

Converting a PDF to a plain text file on Linux doesn’t have to be complicated. Whether you’re dealing with reports, documents, or something else, there are a few free tools that can get the job done quickly. Here are four great options you can try, with simple steps to follow. 1. Convert PDFs with pdftotext … Read more

How to Create Thousands/Millions Files in Linux

bash, command-line, linux

Do you need an ultra fast way to create a large number of files in Linux? Perhaps, you are doing some load testing for an application and you need to create 1000 or even 1,000,000 files in the matter of seconds. Well, here is how to do it! There are two parts to creating these … Read more

Examples of Linux ‘head’ Command to Preview a File

linux, shell bash, ubuntu

This article will show you how to use the head command in Linux. head is used to print out the beginning of a file. For example, this is useful when you have a giant text file and you want to preview the contents without attempting to open the entire file. Here are some common examples … Read more

How to add a Windows/Linux network printer in Ubuntu 9.10

add a printer, install a printer, ubuntu, printer

This article will show you how to add a network printer on a Ubuntu 9.10 system. Let’s go ahead and get started… Navigate to System –> Administration –> Printing Then choose Server –> New –> Printer from the Printer configuration window The New Printer wizard will be displayed. Here you can add either local or … Read more

How to Kill All Processes in Linux with a Single Command

kill processes linux, stop script execution

Linux is a highly efficient and flexible operating system, but there are times when processes can misbehave, slow down the system, or consume excessive resources. In such cases, it may be necessary to terminate one, multiple, or even all processes. This guide provides a detailed explanation of how to kill all processes in Linux using … Read more

How to change screen/display resolution in Ubuntu 9.10

If you’re running Ubuntu 9.10 and want to tweak your display settings, adjusting the screen resolution is a quick fix. Whether you’re trying to match your monitor’s native resolution or just make things look sharper, Ubuntu 9.10 has tools to help you get it done. Let’s walk through the steps to change the screen resolution, … Read more

How to disable password prompts (UAC) in Ubuntu

ubuntu linux prompt

This article will show you are to disable UAC (User Access Controls) aka those pesky popup dialogs where you must enter your password in Ubuntu Linux! As many of you know, this feature was implemented in Windows Vista but went horribly wrong and is the reason it has been removed in Windows 7. Linux, which … Read more

How to Install SSHD service on Ubuntu Linux in Seconds

Secure Shell (SSH) is a critical tool for Linux users, enabling secure remote access to servers and facilitating encrypted file transfers. Ubuntu, being one of the most popular Linux distributions, offers seamless compatibility with SSH. This guide will walk you through the steps to install, configure, and manage SSH on Ubuntu, ensuring secure and efficient … Read more

How to compare to files in Linux in 5 ways

compare 2 files in Linux

Comparing two files in Linux is a common task, especially when managing configurations or tracking code changes. Let’s explore some straightforward methods to help you spot differences between files. Using the diff Command The diff command is a staple for comparing files in Linux. It highlights line-by-line differences, making it easy to identify changes. Basic … Read more

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

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

Tutorial – How to Open & Extract a .tar.bz2 File

tar bz2 file compress

When you encounter a tar.bz2 file, it might seem like a cryptic piece of technology reserved for advanced users. But don’t worry—it’s simpler than it looks. The tar.bz2 file format is a combination of two processes: creating a tar archive and compressing it with bzip2. This format is widely used in Unix/Linux systems to bundle … Read more

How to install a FTP server for Linux in 30 seconds

ftp servers for linux

If you’re looking to move files quickly and efficiently between systems, setting up an FTP server for Linux is a solid option. FTP (File Transfer Protocol) is reliable, widely used, and pretty straightforward to get up and running on Linux. Whether you’re managing a personal server or handling company data, an FTP server is a … Read more

Linux 101: Append String/Data To A File

rpm dependencies, linux, ubuntu

Appending data to files is a common task in Linux, whether you’re updating logs, adding configuration settings, or combining file contents. Linux provides several straightforward methods to append text or other data to an existing file. This guide will cover different tools and commands you can use for this purpose. Using the >> Operator for … Read more

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