Quantcast
Channel: nixCraft
Browsing all 22 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How do I send html email from Perl?

Q. How Can I send html email from cgi perl program under UNIX / Linux and Apache web sever? A. Sending HTML email is an easy task with MIME::Lite CPAN module. It is a low-calorie MIME generator. It can...

View Article


Image may be NSFW.
Clik here to view.

Perl sprintf: How Do I Use sprintf In a Perl Script?

How do I use sprintf() function in a perl script under Linux or UNIX?Read answer to: "Perl sprintf: How Do I Use sprintf In a Perl Script?"    

View Article


Image may be NSFW.
Clik here to view.

Perl Display And Pass Command Line Arguments With @argv

How do I read or display command-line arguments with Perl?Read answer to: "Perl Display And Pass Command Line Arguments With @argv"    

View Article

Image may be NSFW.
Clik here to view.

FreeBSD find out RAM size including total amount of free and used memory size

Q. How do I find out RAM size / memory size in FreeBSD? How do I display amount of free and used memory in the system? A. To displays the total amount of free and used physical and swap memory in the...

View Article

Image may be NSFW.
Clik here to view.

Howto: Write script in Perl

Q. I’m new to Linux and Perl. I’ve printed perl man page but it is bit confusing and omits a lot of simple things or details. Can you tell me how do I write a perl script? How do I open perl editor? A....

View Article


Image may be NSFW.
Clik here to view.

Linux / UNIX: Run Commands When You Log Out

I've written a Perl script that connects to our central server for me and it allows me feed data so that I make a timesheet later. How do I run my script when I log out from Apple OS X or Linux / UNIX...

View Article

Image may be NSFW.
Clik here to view.

HowTo: Reverse a String In Unix / Linux Shell?

How do I reverse lines of a file or files under Linux or Unix like operating systems?Read answer to: "HowTo: Reverse a String In Unix / Linux Shell?"    

View Article

Image may be NSFW.
Clik here to view.

How to protect Linux against rogue USB devices using USBGuard

usbgurd You deployed a perfect firewall and other network security policies preventing unauthorized access to the user's desktop computer over a network. However, you still need to block USB device...

View Article


Image may be NSFW.
Clik here to view.

DNS settings to avoid email spoofing and phishing for unused domain

As you may know, email spoofing allows attackers to pose as someone else to gain illegal profit. For example, I only use webmaster@cyberciti.biz for communication, but someone might create a...

View Article


Image may be NSFW.
Clik here to view.

How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2)

Patreon users download the PDF version. All Linux and Unix servers are managed manually or by automation tools such as Ansible using ssh. For example, say you have a server at Linode or AWS. Then you...

View Article

Image may be NSFW.
Clik here to view.

How to skip ChatGPT from WireGuard or OpenVPN on Linux

nixCraft Patreon supporters can download the PDF version here. ChatGPT (short for Chat Generative Pre-trained Transformer) is a chatbot by OpenAI. It provides answers to your queries using learning...

View Article

Image may be NSFW.
Clik here to view.

nvtop – Awesome Linux task monitor for NVIDIA, AMD & Intel GPUs

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit The post nvtop – Awesome Linux task monitor for NVIDIA, AMD & Intel GPUs appeared first on nixCraft.

View Article

How to upgrade FreeBSD 13.1 to 13.2 release

The FreeBSD Release Engineering Team is announcing the availability of FreeBSD version 13.2-RELEASE on 11/April/2023. It is the third release of the stable/13 branches. I updated my FreeBSD version...

View Article


Setting up VSCode for Ansible Lightspeed AI in Ubuntu 22.04 desktop

Red Hat launched the Ansible Lightspeed Code Assistant Generative AI with IBM Watson Code Assistant in May 2023. This preview is now available to all Ansible users, allowing them to explore the...

View Article

Debian Linux 12.1 released with Security Updates

Debian Linux project announces the first update of the Debian project's stable distribution, Debian 12 (codename "bookworm") named Debian 12.1. This update mainly addresses security issues and...

View Article


How to block AI Crawler Bots using robots.txt file

Are you a content creator or a blog author who generates unique, high-quality content for a living? Have you noticed that generative AI platforms like OpenAI or CCBot use your content to train their...

View Article

Image may be NSFW.
Clik here to view.

sttr – Awesome Linux & Unix tool for transformation of the string

sttr demo The sttr is a free and open-source command-line tool in Golang that lets you easily change and modify text. You can perform transformation operations on the string, such as hashing text,...

View Article


lnav – Awesome terminal log file viewer for Linux and Unix

It is no secret that whether you are a developer or sysadmin, you need to use log files to troubleshoot errors on your Linux and Unix systems. You use tools like grep, tail, cat, or journalctl to view...

View Article

ZFS Raidz Expansion Finally, Here in version 2.3.0

After years of development and testing, the ZFS raidz expansion is finally here and has been released as part of version 2.3.0. ZFS is a popular file system for Linux and FreeBSD. RAIDz is like RAID 5,...

View Article

Critical Rsync Vulnerability Requires Immediate Patching on Linux and Unix...

Rsync is a opensource command-line tool in Linux, macOS, *BSD and Unix-like systems that synchronizes files and directories. It is a popular tool for sending or receiving files, making backups, or...

View Article
Browsing all 22 articles
Browse latest View live