Tag: Unix
Posts of Tag: Unix
  1. How to Grep Recursively in Bash

    .lazyload-placeholder { display: none; } Introduction Grep is a powerful tool in the Unix world that allows you to search for specific text within files or even directories. It is widely used for log analysis, ...Learn More
    Unixbash
  2. What Does "2>&1" do on the Command Line?

    .lazyload-placeholder { display: none; }Introduction The command line is a powerful tool for developers and system administrators. It allows them to perform tasks quickly and efficiently, without having to rely...Learn More
    Unix
  3. Bash: Difference Between [ and [[ Operators

    .lazyload-placeholder { display: none; } Introduction In bash, the [ and [[ operators are used for comparison and testing. The [ operator is an alias for the test command, which is used to check the properties ...Learn More
    Unixbash
  4. Bash: Check if Directory or File Exists

    .lazyload-placeholder { display: none; } Introduction It is important to check for the existence of directories and files in Bash scripts for several reasons. Firstly, it allows the script to handle situations ...Learn More
    Unixbash
  5. How to Save Command Output as Variable in Bash?

    .lazyload-placeholder { display: none; } Introduction In bash scripts, assigning the output of a command to variables can be convinient by storing the outputs of the commands and using them later. In this shor...Learn More
    LinuxUnixbash
  6. How to Parse Command Line Arguments in Bash

    Introduction Bash scripts take in command-line arguments as inputs both sequentially and also, parsed as options. The command-line utilities use these arguments to conditionally trigger functions in a Bash scri...Learn More
    LinuxUnixbashcommand-line
  7. Pimp my Terminal - An Introduction to "Oh My Zsh"

    Introduction Using a terminal can be a bit of an intimidating experience in the beginning - but after you get used to it, it can boost your productivity in ways you couldn't imagine and can become quite a pleas...Learn More
    LinuxUnixshellbashzsh
  8. Getting Started with GitHub Actions - Software Automation

    Introduction In this guide, we'll take a look at what GitHub actions are, how they work, and build a workflow using Python to showcase how you can use GitHub actions to automate tasks. Since its inception in ...Learn More
    PythongithubGitUnixSoftwareyaml
  9. Guide to Elasticdump - Moving and Saving Elasticsearch Indices

    Introduction Elasticsearch initially began as a custom search engine. These days, it has gone above and beyond that singular role as it's part of log aggregation stacks, security monitoring, and even as a datas...Learn More
    NodejsUnixtool
  10. How to Run a Bash Script on Login

    Eventually, you may find yourself wanting to run a particular script every time you log in to a Unix machine (SSH hop to another machine, see a detailed system status, etc.) or, you maybe you'd like to improve ...Learn More
    Unixbashhow to
  11. How to Use the Rsync Command in Unix

    Introduction The digital revolution has changed our lives in many ways. Nowadays, our picture albums, music collections, bookshelves etc. are all digital - binaries written on a disk. Our life and work are shar...Learn More
    LinuxUnix
  12. Linux: Display File Properties via Terminal

    Introduction We commonly need and want to know more about the files and directories that we are working with. Most people know one of the ways, which is simply to Right Click > Properties on the wanted folder o...Learn More
    LinuxUnix