• Li chevron_right

      Run a Bash Shell Script in Linux Command Line [Beginner's Tip]

      pubsub.slavino.sk / linuxhandbook.com · Monday, 4 September, 2023 - 06:35 edit

    Running a bash shell script is quite simple. But you also get to learn about running them in the shell instead of subshell in this tutorial.

    Značky: #Linux, #Bash

    • Li chevron_right

      Get Script Directory Location in Bash

      pubsub.slavino.sk / linuxhandbook.com · Sunday, 20 August, 2023 - 03:14 edit

    Here are a couple of ways of getting the directory location of your bash script inside the bash script.

    Značky: #Linux, #Bash

    • Li chevron_right

      Various Ways to Increment or Decrement Counters in Bash

      pubsub.slavino.sk / linuxhandbook.com · Friday, 11 August, 2023 - 07:35 edit

    Working with loops in bash? Here are various ways of incrementing and decrementing counters.

    Značky: #Linux, #Bash

    • Li chevron_right

      Use While Loop in Bash

      pubsub.slavino.sk / linuxhandbook.com · Thursday, 27 July, 2023 - 15:31 edit

    Learn to use the while loop in bash with practical examples in this tutorial.

    Značky: #Linux, #Bash

    • Li chevron_right

      Using Until Loop in Bash

      pubsub.slavino.sk / linuxhandbook.com · Thursday, 20 July, 2023 - 05:26 edit

    While for maybe the most popular bahs loop, wait until you discover until. Pun intended :)

    Značky: #Bash, #Linux

    • Li chevron_right

      Read File Line by Line in Bash

      pubsub.slavino.sk / linuxhandbook.com · Wednesday, 28 June, 2023 - 03:29 edit

    Here are a couple of ways for reading file line by line in the Bash shell.

    Značky: #Linux, #Bash

    • Li chevron_right

      Use For Loop With Array in Bash

      pubsub.slavino.sk / linuxhandbook.com · Thursday, 22 June, 2023 - 04:45 edit

    In this Bash scripting example, learn how to use for loop with arrays.

    Značky: #Linux, #Bash

    • Li chevron_right

      Check if Variable is Empty in Bash

      pubsub.slavino.sk / linuxhandbook.com · Tuesday, 20 June, 2023 - 14:36 edit

    Learn various ways to check if a variable is empty in bash.

    Značky: #Linux, #Bash

    • Li chevron_right

      Get Array Length in Bash

      pubsub.slavino.sk / linuxhandbook.com · Monday, 12 June, 2023 - 16:32 edit

    In this quick bash tip, learn about calculating the array length.

    Značky: #Bash, #Linux