How to find all hard links in a directory on Linux

How to find all hard links in a directory on Linux

I have a file named /etc/passwd i and I would like to find all hard links to this file in a directory. How do I find out all other hard links to the /etc/passwd in /backups/ directory? How can find all hard links to a given file using Linux or Unix command line option?
Halal Vitamins

Powered by WPeMatico

How to set rsync speed limit from eating all bandwidth with –bwlimit option

How to set rsync speed limit from eating all bandwidth with –bwlimit option

The rsync command is eating all my bandwidth from a backup script and generating tons of I/O. How do I set a limit for file transfer speed of rsync command on Linux or Unix-like system? How can I keep my rsync script from using all of my bandwidth?
Halal Vitamins

Powered by WPeMatico

How to display cpu wise usage using top command on FreeBSD Unix operating system

How to display cpu wise usage using top command on FreeBSD Unix operating system

I recently switched from Linux to FreeBSD. On Linux, I press 1 which show me a breakdown of CPU usage per CPU, but it is not working on FreeBSD. How do I find out the usage of individual CPU core usage using the top command on FreeBSD operating system?
Halal Vitamins

Powered by WPeMatico

How to let users securely edit files using sudoedit on Linux

Zabihah Halal Vitamins
How to let users securely edit files using sudoedit on Linux
Suppose you are a system administrator in a company where teams mostly work on Linux with limited privileges. Now imagine a situation where members of one of the teams – as part of some new work – need to frequently edit a file that requires superuser privileges. What would you do?

Powered by WPeMatico

How to install Arch Linux on VirtualBox

Zabihah Halal Vitamins
How to install Arch Linux on VirtualBox
Arch Linux is a Linux-based operating system that is designed for i689 and 86-64 computers. Arch Linux is also popular for having a comprehensive documentation in form of the community wiki known as ArchWiki. This Linux operating system is based on binary packages that are targeted for i832, 64-bit, and 32-bit systems and optimized for the best performance on the modern hardware systems.

Powered by WPeMatico

7 Awesome Open Source Build Automation Tools For Sysadmin/DevOps/Developers

7 Awesome Open Source Build Automation Tools For Sysadmin/DevOps/Developers
Build automation is a vital tool for devops, sysadmins, and developers. It is nothing but scripting or automating the process of compiling source code into binary. Sysadmins can use build tools to manage and update config files. Following is a list of awesome open source and popular tools associated with automating build processes on Linux or Unix-like system.

Build automation tools.
Halal Vitamins

Powered by WPeMatico

How to perform pattern search in files using Grep

Zabihah Halal Vitamins
How to perform pattern search in files using Grep
This article focuses on some advanced features of the grep command like case insensitive search, displaying certain non-matched lines with line containing matched string, print matched strings in grep, and to display the position of a match in grep.

Powered by WPeMatico

How to add an extra second hard drive on Linux LVM and increase the size of storage

How to add an extra second hard drive on Linux LVM and increase the size of storage

I have 250GB disk installed on my home Linux server. I just bought a brand new 250GB SATA disk and I want to add a new disk to my existing LVM volume to increase its size total size to 500GB. How do I add a disk to LVM and extend an LVM volume on Linux operating system?
Halal Vitamins

Powered by WPeMatico

The Perfect Server CentOS 7.3 with Apache, Postfix, Dovecot, Pure-FTPD, BIND and ISPConfig 3.1

Zabihah Halal Vitamins
The Perfect Server CentOS 7.3 with Apache, Postfix, Dovecot, Pure-FTPD, BIND and ISPConfig 3.1
This tutorial shows how to install ISPConfig 3.1 on a CentOS 7.3 (64Bit) server. ISPConfig 3 is a web hosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, Mailman, and many more.

Powered by WPeMatico

Introduction to LaTeXila – a multi-language LaTeX editor for Linux

Zabihah Halal Vitamins
Introduction to LaTeXila – a multi-language LaTeX editor for Linux
LaTeXila is a multi-language LaTeX editor for Linux users who prefer the GTK+ looks. The software is simple, easy to use, adequately powerful and customizable, so if you’re interested in LaTeX you should give this tool a try. In the following quick guide, I will showcase how to get started with LaTeXila and what its main features are.

Powered by WPeMatico