System & Network Admin

System & Network Admin

2075 bookmarks
Custom sorting
Bash sed awk, format CPU/Mem info from /proc/cpuinfo and /proc/meminfo
Bash sed awk, format CPU/Mem info from /proc/cpuinfo and /proc/meminfo
The problem that I'm trying to solve is to produce portable output that I can display on all of the servers in our environment to show basic info at login using generic information on all CentOS / ...
·stackoverflow.com·
Bash sed awk, format CPU/Mem info from /proc/cpuinfo and /proc/meminfo
How to Check CPU Information in Linux
How to Check CPU Information in Linux
The CPU Information in any machine includes information about the processor, the vendor details, model name, architecture, speed of processing, etc.
·linuxshelltips.com·
How to Check CPU Information in Linux
3 Ways to check CPU Cores in Linux - howtouselinux
3 Ways to check CPU Cores in Linux - howtouselinux
In this blog post, we will discuss 3 different ways to check the number of cpu cores in Linux. This is useful information to have if you are trying to optimize your system for performance. Each method has its own advantages and disadvantages, so be sure to read through all of them before choosing the […]
·howtouselinux.com·
3 Ways to check CPU Cores in Linux - howtouselinux
Putting IP Address into bash variable. Is there a better way
Putting IP Address into bash variable. Is there a better way
I'm trying to find a short and robust way to put my IP address into a bash variable and was curious if there was an easier way to do this. This is how I am currently doing it: ip=`ifconfig|xargs|...
·stackoverflow.com·
Putting IP Address into bash variable. Is there a better way
Linux bash script to extract IP address
Linux bash script to extract IP address
I want to make big script on my Debian 7.3 ( something like translated and much more new user friendly enviroment ). I have a problem. I want to use only some of the informations that commands give...
·stackoverflow.com·
Linux bash script to extract IP address
Generate a List of IP Addresses
Generate a List of IP Addresses
An IP address sequence generator powered by alien technology from the future. 100x better than puny human technology. Try it out!
·catonmat.net·
Generate a List of IP Addresses
Dependencies Tree Implementation
Dependencies Tree Implementation
For those who used apt-get, you know that everytime you install / uninstall something, you get the notificatons saying you need / no longer need certain dependencies. I'm trying to understand the ...
·stackoverflow.com·
Dependencies Tree Implementation
How To Write Bash Shell Loop Over Set of Files
How To Write Bash Shell Loop Over Set of Files
Explains how to loop through a set of files in current or any directory using shell script for loop under UNIX / Linux / macOS.
·cyberciti.biz·
How To Write Bash Shell Loop Over Set of Files
Bash Recursion Examples and Experiments with Local Variables
Bash Recursion Examples and Experiments with Local Variables
Recursion in programming is when a piece of code (usually a function) calls itself. If there is no exit case, the program will go on forever. We will be discussing recursion in a bash script with examples and discussing some peculiarities of the bash shell, such as local variables. Setup Let’s make a shell script.…
·ahmed.amayem.com·
Bash Recursion Examples and Experiments with Local Variables
Recursive function in bash
Recursive function in bash
I want to do a function that will return the factorial of a number in bash Here's the current code that doesn't work, can anyone tell me what's wrong and how to correct it? I just started learning...
·stackoverflow.com·
Recursive function in bash
rpm(8): RPM Package Manager - Linux man page
rpm(8): RPM Package Manager - Linux man page
rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages.
·linux.die.net·
rpm(8): RPM Package Manager - Linux man page
Bash Array – How to Declare an Array of Strings in a Bash Script
Bash Array – How to Declare an Array of Strings in a Bash Script
Bash scripts give you a convenient way to automate command line tasks. With Bash, you can do many of the same things you would do in other scripting or programming languages. You can create and use variables, execute loops, use conditional logic, and store data in arrays. While
·freecodecamp.org·
Bash Array – How to Declare an Array of Strings in a Bash Script
If Statements - Bash Scripting Tutorial
If Statements - Bash Scripting Tutorial
Bash if statements. Learn if statements, else, elif and case statements with sample scripts, detailed descriptions and challenges.
·ryanstutorials.net·
If Statements - Bash Scripting Tutorial
How to get the first element of an array in Bash
How to get the first element of an array in Bash
In this tutorial, we are going to learn about how to get the first element of an array in Bash. Consider, we have the following array. Now…
·reactgo.com·
How to get the first element of an array in Bash
Bash declare command
Bash declare command
Bash doesn't have a strong type system. To allow type-like behavior, it uses attributes that can be set by a command. ‘declare’ is a bash built-in command that allows you to update attributes applied to variables within the scope of your shell. In addition, it can be used to declare a variable in longhand. Lastly, it allows you to peek into variables.
·linuxhint.com·
Bash declare command
Creating a Bash script template
Creating a Bash script template
In the first article in this series, you created a very small, one-line Bash script
·opensource.com·
Creating a Bash script template
Custom Dynamic DNS with UniFi Dream Machine Pro
Custom Dynamic DNS with UniFi Dream Machine Pro
Journey on how UniFi Dream Machine Pro’s Dynamic DNS is setup and how to have it point to a custom Dynamic DNS provider.
·dixonwille.medium.com·
Custom Dynamic DNS with UniFi Dream Machine Pro
Let's Encrypt DNS Challenge | Lincoln Loop
Let's Encrypt DNS Challenge | Lincoln Loop
Let's Encrypt is a new certificate authority. It is a huge improvement over the manual complex process of acquiring and …
·lincolnloop.com·
Let's Encrypt DNS Challenge | Lincoln Loop
Challenge Types
Challenge Types
When you get a certificate from Let’s Encrypt, our servers validate that you control the domain names in that certificate using “challenges,” as defined by the ACME standard. Most of the time, this validation is handled automatically by your ACME client, but if you need to make some more complex configuration decisions, it’s useful to know more about them. If you’re unsure, go with your client’s defaults or with HTTP-01.
·letsencrypt.org·
Challenge Types