Latest articles

How to copy and transfer files remotely on Linux using scp and rsync

In Linux, how do I copy and transfer files remotely between two Linux machines? What command do I need to use to transfer files between Unix/macOS and Linux computers securely? The post How to copy and transfer files remotely on Linux using scp and rsync appeared first on nixCraft.

Cut command in Linux with examples

{Updated} The Unix or Linux cut command is an extremely useful tool for filtering information. Here is a brief overview for new Linux, macOS, *BSD and Unix users.The post Cut command in Linux with examples appeared first on nixCraft.

How To Run Commands When You Log Out Using ~/.bash_logout

{Updated} When you exit a login Bash session/shell, you can run commands on macOS/Linux/Unix. Useful to remove bash/mysql history or run backup job so that files are backed up as soon as you exit a login shell.The post How To Run Commands When You Log Out Using ~/.bash_logout appeared first on nixCraft.

How to convert man page to HTML on Linux and Unix

We can easily convert all Linux man pages to HTML, text, or pdf format. To display online manual documentation pages in terminal on Linux, macOS, *BSD, and Unix-like systems, we use the man command. However, some man pages are long and might be hard to search when using less or most as a pager. Hence, we can convert them to HTML format and skimmed them...

Linux help command examples and syntax

{Updated} You can use the help command to display help about built-in Bash commands. A shell builtin is nothing but a command or a function, called from a shell, that is executed directly in the shell itself.The post Linux help command examples and syntax appeared first on nixCraft.

How To: Linux Find Large Files in a Directory

{Updated} There is no single command that can be used to list all large files. But, with the help of find command command and shell pipes, you can easily list all large files. This page explains how to find the largest files and directories in Linux using various commands.The post How To: Linux Find Large Files in a Directory appeared first on nixCraft.

How to install Redis server on Ubuntu Linux

How do I install the Redis server on the Ubuntu Linux version 18.04/20.04 LTS server to speed up database caching in memory? The post How to install Redis server on Ubuntu Linux appeared first on nixCraft.

How to audit SSH server and client config on Linux/Unix

{Updated} All developers and Unix users know how to use an ssh client. OpenSSH is a widely used implementation of Secure Shell (SSH) Internet communication protocol. Back in the old days, Unix folks used Telnet which was insecure. On the other hand, SSH allows exchanging data using a secure channel between two hosts. Therefore, every Linux and Unix...

How to install LAMP on Debian 10 (Buster)

{Updated} The LAMP is an acronym for software stack that includes Linux, Apache web server, MariaDB database (MySQL drop in replacement), and PHP web scripting language. This page shows you how to install a LAMP stack on Debian Linux 10 (Buster) server.The post How to install LAMP on Debian 10 (Buster) appeared first on nixCraft.

How to repeat a character ‘n’ times in Bash

Let us say you want to repeat a character such as '-' OR '=' multiple times while writing bash script. Please note that I needed a quick script to work on Linux, macOS, and FreeBSD server to repeat a string/character n times. One simple way to to repeat a string or character n times is simple use the echo command/printf command as follows: echo '------------------------------------'...

Discover, share and read the best on the web

Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!