Category: Linux

Linux Server Managment

Master the Linux 'ls' command

Hand putting a Linux file folder into a drawer

The ls command lists files on a POSIX system. It’s a simple command, often underestimated, not in what it can do (because it really does only one thing), but in how you can optimize your use of it.

read more

Can I delete /var/cache/apt/archives for Ubuntu/Debian Linux? nixCraft

I noticed that /var/cache/apt/archives/ taking lots of disk space on my AWS EC2 cloud server powered by Debian Linux. Can I delete /var/cache/apt/archives/ folder? Is it safe to remove all files? Do we absolutely necessary

How To Check Swap Usage Size and Utilization in Linux nixCraft Updated Tutorials/Posts

How do I check swap (paging) usage under Linux operating systems using command bash/ksh line options? How do I check swap usage size on Linux operating system?Swap space (also known as paging) is nothing but

How to check open ports in Linux using the CLI nixCraft

I need to list all open ports in Linux cloud server. How do I check open ports in Linux using the CLI? Can you give me the command to check open ports in Linux operating

Running Blockchain Applications in Hyperledger Explorer

Title: 
Running Blockchain Applications in Hyperledger Explorer

10 resources every sysadmin should know about

Person on top of a mountain, arm raise

Everybody knows that sysadmins are impossibly busy people. Consequently, it sometimes seems they are superhuman. The sysadmin’s dirty secret, the same one shared by many open source users, is that they don’t actually do all of the work it looks like they’ve done. One of the greatest tools in the sysadmin’s kit is their ability to reuse work someone else has already done for them.

read more

Databases adopt open licenses, JavaScript gets faster on Android, governments use more OSS, and more news

Weekly news roundup with TV

In this edition of our open source news roundup, we take a look at database vendors going all in with open source, Facebook and Uber’s latest open source releases, City of London’s homebuilding app, and more!


read more

How to reinstall a package using apt-get on a Debian or Ubuntu Linux nixCraft Updated Tutorials/Posts

I am a new Debian Linux / Ubuntu Linux LTS user. How do I reinstall a package using apt-get command line? Is there an ‘apt-get force reinstall package’ command?The Advanced Packaging Tool (APT) works on

Linux Execute Cron Job After System Reboot nixCraft Updated Tutorials/Posts

I am on Red Hat Enterprise Linux server. Is there is an easy way to run script or command at boot time after fresh reboot command? How can I execute cron job on Linux after

How To Flush Contents Of a Memcached Server Using Command Line nixCraft Updated Tutorials/Posts

I have installed memcached server under Linux, but it is still showing old data. How do I flush the contents of a Memcached instance / server on Linux or Unix-like systems?You can invalidate all existing

What you need to know to be a sysadmin

People work on a computer server with devices

The system administrator of yesteryear jockeyed users and wrangled servers all day, in between mornings and evenings spent running hundreds of meters of hundreds of cables. This is still true today, with the added complexity of cloud computing, containers, and virtual machines.

read more

Security scanning your DevOps pipeline

Target practice

Security is one of the most important considerations for running in any environment, and using open source software is a great way to handle security without going over budget in your corporate environment or for your home setup. It is easy to talk about the concepts of security, but it’s another thing to understand the tools that will get you there. This tutorial explains how to set up security using Jenkins with Anchore.

read more

How to install LAMP on Debian 10 (Buster) nixCraft

How do I install a LAMP stack on Debian 10 (Buster)?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.

How to delete a UFW firewall rule on Ubuntu / Debian Linux nixCraft

How do I remove and delete a UFW firewall rule running on Ubuntu or Debian Linux?UFW is an acronym for an uncomplicated firewall. Securing a network with the uncomplicated firewall is super easy. The Ubuntu

Linux – How To Copy a Folder [ Command Line Option ] nixCraft Updated Tutorials/Posts

I am a new Linux system user. How do I copy a directory or folder under Linux operating system using command line options and bash shell?Introduction: A file is a collection of data items stored

Extract tar.gz File in Linux or Unix using tar nixCraft Updated Tutorials/Posts

I have downloaded a file called foo.tar.gz from the Internets. How do I extract tar.gz file under Linux / UNIX like operating systems using command line options?A tarball (tar.gz file) is nothing but compressed tar

MTTR is dead, long live CIRT

Green graph of measurements

The game is changing for the IT ops community, which means the rules of the past make less and less sense. Organizations need accurate, understandable, and actionable metrics in the right context to measure operations performance and drive critical business transformation.

The more customers use modern tools and the more variation in the types of incidents they manage, the less sense it makes to smash all those different incidents into one bucket to compute an average resolution time that will represent ops performance, which is what IT has been doing for a long time.

read more

Make an RGB cube with Python and Scribus

cubes coming together to create a larger cube

When I decided I wanted to play with color this summer, I thought about the fact that colors are usually depicted on a color wheel. This is usually with pigment colors rather than light, and you lose any sense of the variation in color brightness or luminosity.

read more

How to upgrade Debian 9 to Debian 10 Buster using the CLI nixCraft

I have Debian 9.x installed on AWS EC2. How do I upgrade Debian 9 Stretch to Debian 10 Buster using the apt command/apt-get command CLI? How can I upgrade Debian 9 to Debian 10 using

32-bit life support: Cross-compiling with GCC

Wratchet set tools

If you’re a developer creating binary packages, like an RPM, DEB, Flatpak, or Snap, you have to compile code for a variety of different target platforms. Typical targets include 32-bit and 64-bit x86 and ARM. You could do your builds on different physical or virtual machines, but that means maintaining several systems. Instead, you can use the GNU Compiler Collection (GCC) to cross-compile, producing binaries for several different architectures from a single build machine.

read more