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

Latest articles

How to redirect standard (stderr) error in bash

{Updated} I am trying to redirect bash message into file named output.log. But, it is not getting redirected. How do I redirect both standard output and standard error in bash shell? In Linux, how do I redirect error messages?The post How to redirect standard (stderr) error in bash appeared first on nixCraft.

Download of the day: AlmaLinux DVD/CD ISO

AlmaLinux is the first significant replacement for CentOS Linux 8. As you know, CentOS 8 Linux, as a rebuild of RHEL 8, will end in 2021. AlmaLinux is a free and open-source RHEL 8 fork built by the team at CloudLinux, inspired by the community. Let us take a quick look at AlmaLinux 8 and how to download AlmaLinux DVD/CD ISO on your system. The post...

cpufetch – awesome CPU architecture info tool for Linux and macOS

Typically we use the lscpu command or /proc/cpuinfo command on Linux to check CPU information. I recently found another simplistic yet fancier CPU architecture fetching tool inspired by neofetch, pfetch or screenfetch. Let us see how to install cpufetch on Linux, macOS, Android, and Windows to fetch CPU details. The post cpufetch – awesome CPU architecture...

pinfo - Read Linux Info Documentation in Colors

{Updated} You can display man pages in colors under Linux and Unix-like systems. Similarly, you can display info pages in colors.The post pinfo - Read Linux Info Documentation in Colors appeared first on nixCraft.

How to install ncdu on Linux / Unix to see disk usage

The du (disk usage) command summarizes directory trees' sizes, including all of their contents and individual files' sizes on Linux and Unix-like systems such as macOS. It helps track down space hogs. In other words, we can list directories and files that consume large amounts of space on a hard disk drive. Let us see the ncdu command, a curses-based...

How to find largest file in directory recursively using find/du under Linux

{Updated} I have 500GB SSD installed on my Linux server. My web server is running out of the disk space. I need to find a biggest or largest file concerning file size on the disk. How do I find largest file in a directory recursively using the find command?The post How to find largest file in directory recursively using find/du under Linux appeared...

How to create MySQL admin user (superuser) account

{Updated} Explains how to make a superuser (admin) with root-like access to the MySQL/MariaDB databases with secure plugins. Further, learn how to create an encrypted file to store admin user/password, host, and TLS info securely for ease of login via Linux/Unix CLIThe post How to create MySQL admin user (superuser) account appeared first on nixCraft.

How to use scp/rsync to copy file with a colon (:) in it

{Updated} How do I copy file with scp or rsync with a colon in it?The post How to use scp/rsync to copy file with a colon (:) in it appeared first on nixCraft.

How to configure static IP address on Alpine Linux

At home or in a cloud environment, IP addresses are assigned dynamically by the DHCP server. Setting a static IP address on your Alpine Linux server is required for various reasons. For instance, Alpine Linux is configured as a DHCP server or KVM server to host multiple VMs. Static IP address makes it easy to work with port forwarding, firewalling,...

Interview with Abhinav Upadhyay, NetBSD contributor and machine learning software developer

Abhinav Upadhyay is an Indian software developer, the NetBSD project contributor, and works with the exciting field of machine learning (ML). Recently I did a quick Q and A with Abhinav about his life-changing journey with NetBSD, getting started with ML and FLOSS community, and his daily workflow. The post Interview with Abhinav Upadhyay, NetBSD contributor...

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!