nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

Latest articles

Quick tip: Display banner/message before OpenSSH authentication

Want to display a message or banner before OpenSSH (SSHD server) authentication? Try this simple tip to show the banner or ASCII logo on your Linux or Unix system. The post Quick tip: Display banner/message before OpenSSH authentication appeared first on nixCraft.

Alpine Linux Change Hostname (computer name)

I am a new Alpine Linux user. By default, my server name is set to 'localhost' during installation. Now, I would like to change the computer name. How do I change the Alpine Linux computer name? Can you tell me more about Alpine Linux change hostname command? The post Alpine Linux Change Hostname (computer name) appeared first on nixCraft.

How to enable firewalld logging for denied packets on Linux

{Updated} How do I enable FirewallD logging for denied packets on Linux operating systems so that I can view all dropped packets information? How can I view a log of the traffic blocked by FirewallD under a CentOS/RHEL (Red Hat Enterprise Linux)/Suse/OpenSUSE Linux?The post How to enable firewalld logging for denied packets on Linux appeared first on...

How to find and delete directory recursively on Linux or Unix-like system

{Updated} I type 'find . -type d -iname foo -delete command to find all foo directories and delete them. However, I am getting an error message that read as, find: cannot delete './hourly.4/data/foo': Directory not empty on my Linux server. How do I delete directories based on find command output on Linux or Unix-like system?The post How to find and...

tmpmail – A temporary email right from Linux / Unix terminal

Are you looking to send a temporary email right from your Linux or Unix terminal? Look no further. Try tmpmail command-line utility that allows you to generate a temporary email address for receiving emails. Underneath the script uses 1secmail's API to receive the emails. The post tmpmail – A temporary email right from Linux / Unix terminal appeared...

How to Install Java on Ubuntu 20.04 LTS Linux

Can you explain how to install Java on Ubuntu 20.04 LTS Linux system? The post How to Install Java on Ubuntu 20.04 LTS Linux appeared first on nixCraft.

How To Protect SSH With Fail2Ban on CentOS 8

{Updated} My ssh log file shows too many password failures. Random IP address trying to brute force my sshd server running on CentOS 8 server. How do I protect ssh with fail2ban on CentOS 8 Linux server? How do I install Fail2Ban on CentOS 8?The post How To Protect SSH With Fail2Ban on CentOS 8 appeared first on nixCraft.

How to create a Linux swap file

I am a new Linux system developer and user. How do I create a Linux swap file from the command line option for my cloud server? How can I add swap space on my Ubuntu 20.04 LTS or CentOS Linux 7/8 server? The post How to create a Linux swap file appeared first on nixCraft.

How do I know if my Linux is 32 bit or 64 bit?

{Updated} I need to find out if my Linux server is running on 32-bit or 64-bit system. How do I know if my Linux is 32 bit or 64 bit?The post How do I know if my Linux is 32 bit or 64 bit? appeared first on nixCraft.

How to check if CentOS / RHEL needs a full reboot

I am using a CentOS/RHEL 6/7/8 server. How do I check from the command line if a reboot is required for my CentOS host? How do I check if a host powered by CentOS Enterprise Linux needs to reboot after running the yum update command? The post How to check if CentOS / RHEL needs a full reboot appeared first on nixCraft.

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!