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

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

Latest Articles

How To Linux Hard Disk Encryption With LUKS [ cryptsetup encrypt command ]

Dear nixCraft,    I carry my Linux powered laptop just about everywhere. How do I protect my private data stored on partition or removable storage media against bare-metal attacks where anyone can get their hands on my laptop or usb pen drive while traveling?–Sincerely,Worried about my data. Linu...

8GB Raspberry Pi 4 released for $75 – Specifications

Back in June 2019, the Raspberry PI 4 model was released, and it was an incredible update over the older model with up to 4GB ram. Today we see the long-rumored 8GB Raspberry Pi 4 released and priced at the just US $75. Here are the complete specs for an updated 64-bit credit card size Raspber...

How to install xfs and create xfs file system on Debian/Ubuntu Linux

I recently switched to a Ubuntu/Debian Linux server from a CentOS/RHEL 7.x. How do I install xfs (mkfs.xfs command) on a Debian/Ubuntu Linux server? How do I create and manage file XFS file system on a Ubuntu or Debian Linux LTS server?XFS was created at Silicon Graphics, Inc and cur...

How to install htop on Debian Linux using apt-get

I am a new user of Debian operating system. How do I install htop on Debian using the apt command or apt-get command?htop is nothing but Interactive process viewer for Debian Linux system. It is just like default top command with an additional set of options and better colorful display on the scre...

Linux run a command with a time limit (timeout)

I want to start command called foo, and kill it if still running after given DURATION in seconds. How do I run a command a time Limit on Linux? How do I run a Linux command, and have it timeout (abort) after N seconds? Can you give timeout command examples in Linux?GNU/Linux comes ti...

How to backup and restore LXD containers

Now that I set up an LXD container, how do I backup and restore LXD containers running on Ubuntu/Debian or Fedora/CentOS Linux server?Backing up your LXD server is an essential task in case your server crashed, or the database got corrupted. Let us see how to backup and restore LXD contain...

How to find ulimit for user on Linux

How can I find the correct ulimit values for a user account or process on Linux systems?For proper operation, we must ensure that the correct ulimit values set after installing various software. The Linux system provides means of restricting the number of resources that can be used. Limits set f...

Vi / VIM: Find And Replace All Text Substitute Command

I am a new Linux user. I started to use vim or vi text editor. How do I find all occurrence of the word called ‘eth0’ and replace it with ‘br0’ on Linux operating systems?Both vi and vim text editor provides the substitute command. It is used for find/search and replace text. This page explains ...

Linux / UNIX : Move File Starting With A Dash (-)

<![CDATA[ kbd { display: inline-block; margin: 0 .1em; padding: .1em .6em; font-family: Arial,"Helvetica Neue",Helvetica,sans-serif; font-size: 11px; line-height: 1.4; color: #242729; text-shadow: 0 1px 0 #FFF; background-color: #e1e3e...

bat Linux command – A cat clone with written in Rust

The cat (short for concatenate) command is one of the most frequently used flexible commands on Linux and Unix-like operating systems. Say hello to bat Linux command, which is a cat command written in Rust programming language. The bat command comes with syntax highlighting, git integration,...

How to limit SSH (TCP port 22) connections with ufw on Ubuntu/Debian Linux

How do I limit ssh connection attempts using UFW (Uncomplicated Firewall) on Ubuntu or Debian Linux server?UFW means Uncomplicated Firewall. It is a default firewall on Ubuntu. However, one can install ufw on other Linux distros. For example Arch Linux, Debian, CentOS and more. In other ...

How to set up MariaDB SSL and secure connections from clients

I am looking to set up MariaDB SSL/TLS (Secure Sockets Layer) and secure connections from MySQL client and PHP/Python application. How do I enable SSL for MariaDB server and client running on Linux or Unix-like system?In this tutorial, I am going to give the instructions on how to set u...
Related Articles

FarmVille Photo 2018-06-05 19:42

ATTENTION, Farmers! 📢 FarmVille is turning 9 this June 🤗 and you are invited for a month-long celebration! 🎉🤩 Send us your birthday greetings below, and join the "FarmVille Birthday" Farmstand for exciting rewards! 🎊🎁 Use the hashtag #FarmVilleBirthday #FarmVilleTurns9 NOW! ️👨‍🌾9️⃣👩‍🌾 Thanks for being with us throughout these years! 😊 #TuesdayThoughts #FarmVille #Birthday Official and Complete Walkthrough: https://zynga.my/FVFarmVilleBirthdayFarmstand PLAY NOW! https://zynga.my/FarmVille1