Sling Academy
Home/DevOps/Page 37

DevOps

DevOps is a set of practices that combines software development (Dev) and IT operations (Ops) aimed at shortening the systems development life cycle and providing continuous delivery with high software quality. It emphasizes collaboration, automation, and integration between developers and IT professionals to improve the speed and quality of software deployment.

Understanding ‘stdin’, ‘stdout’ and ‘stderr’ in Linux

Updated: Jan 28, 2024
Introduction Linux is renowned for its efficiency and flexibility when handling processes. A fundamental concept that facilitates this is the standard streams, namely stdin, stdout, and stderr. Each of these streams is used for......

How to Auto-Reboot a Ubuntu Server When Running Out of Resources

Updated: Jan 28, 2024
Overview One essential task in server management is ensuring that your server remains operational and does not succumb to resource depletion. Automating the reboot of an Ubuntu server when it’s running low on resources can help......

Forget Ubuntu root password? Here’s how to reset it

Updated: Jan 28, 2024
Introduction Forgetting the root password on your Ubuntu system can feel like being locked out of your own home. But fear not, regaining access to your system is not as daunting as it may seem. In this detailed tutorial, we’ll......

How to lock/unlock a directory in Ubuntu

Updated: Jan 28, 2024
Introduction When working with Ubuntu, you might come across scenarios where you need to prevent unauthorized access to certain directories. This tutorial will walk you through multiple methods to lock and unlock directories in Ubuntu,......

How to use if-then statement in Bash scripting

Updated: Jan 28, 2024
Introduction Bash scripting is a powerful tool for automating tasks in Linux and Unix-like operating systems. One of the fundamental concepts in any programming language, including Bash, is the ability to make decisions based on......

How to use ‘do-while’ loop in Bash scripting

Updated: Jan 28, 2024
Introduction Bash scripting offers multiple ways to perform repetitive tasks, amongst which while and until loops are quite common. However, sometimes programmers from other languages like C or Java search for the do-while loop in Bash......

Ubuntu: How to Ping a Remote Server/IP Address

Updated: Jan 28, 2024
Introduction Pinging is a fundamental network command used to test the reachability of a host on an Internet Protocol (IP) network and measure the round-trip time for messages sent from the originating host to a destination computer.......

How to check shell history in Ubuntu

Updated: Jan 28, 2024
Introduction Checking the shell history in Ubuntu can be quite useful for recalling commands, learning user activity, and for general system administration tasks. The shell or command line records a list of commands that users have......

Shell Scripting in Ubuntu: The Comprehensive Cheat Sheet

Updated: Jan 28, 2024
Introduction Shell scripting in Ubuntu allows automation of repetitive tasks, improves productivity, and enhances the functionality of the system. This comprehensive guide is designed to introduce you to shell scripting from......

How to Fetch/Pull All Git Branches

Updated: Jan 28, 2024
Introduction Effective version control is essential in a collaborative software development environment, and Git is one of the most popular version control systems among developers. Working with branches is a fundamental aspect of......

How to tweak Git commit timestamps (author and committer dates)

Updated: Jan 28, 2024
Introduction Git is a distributed version control system widely used for tracking changes in source code during software development. While Git keeps thorough records, including timestamps for when commits are made, there are instances......

How to undo ‘git rebase’ (with examples)

Updated: Jan 28, 2024
Dealing with git rebase can be a daunting task for developers, particularly when something goes wrong. Whether you’ve rebased unintentionally, encountered conflicts, or simply want to revert to a previous state, understanding how to......