Topics
Bash
About this topic: Articles tagged __TAG__
Showing 219 articlesRelated tags
Topics
Articles
Showing 219 articles
How-tos
How to Run Bash Script in Terminal
Learn how to run a Bash script in the terminal effortlessly. This article covers two primary methods: using the bash command and making your script executable. With clear examples …
↗
How-tos
How to Remove Directory in Bash Terminal
Learn how to efficiently remove directories in the Bash terminal, including those with subdirectories. This comprehensive guide covers essential commands like rm -r, rmdir, and …
↗
How-tos
How to Change Directory With Git Bash
This tutorial explains how to change directories in Git Bash using the `cd` command. Learn the best practices for navigating file systems efficiently, including using absolute and …
↗
How-tos
How to Declare and Utilize Booleans in Bash
This tutorial demonstrates the declaration and utilization of booleans in Bash. Learn how to effectively declare boolean variables, use them in conditional statements, integrate …
↗
How-tos
How to Remove Last Character From a String in Bash
Learn how to remove the last character from a string in Bash with easy-to-follow methods. This article covers parameter expansion, sed, awk, and looping techniques, complete with …
↗
How-tos
How to List Directories in Bash
Learn how to list directories in Bash with our comprehensive guide. Explore various methods, including the `ls`, `find`, `tree`, and `compgen` commands, complete with code examples …
↗
How-tos
How to Get User Input in Bash
This article explains how to get user input in Bash, covering essential methods like the read command, reading multiple inputs, and using command-line arguments. With clear code …
↗
How-tos
How to Use the eval Command in Linux Bash
This article explains how to use the eval command in Linux Bash. Learn about its syntax, applications, and practical examples to enhance your scripting skills. Discover how to …
↗
How-tos
How to Create One Line Loop in Bash
This article explains how to create one-line loops in Linux Bash, covering various methods including for, while, and until loops. Learn to automate tasks efficiently with clear …
↗
How-tos
How to Use sed to Find and Replace in Bash
This article shows how to find and replace texts in Bash using sed. Learn simple and advanced methods for text manipulation, including case-insensitive searches and regular …
↗
How-tos
How to Copy Files in Bash
In this guide, learn how to copy files in Bash effectively. Explore various methods for copying single files, multiple files, and directories with practical examples. Discover …
↗
How-tos
How to Solve Export Not a Valid Identifier Error in Bash
This article explains how to solve the export not a valid identifier error in Bash. Learn the common causes of this error and discover effective methods to fix it, including …
↗
How-tos
Ternary Operator in Bash Script
Learn how to implement the ternary operator in Bash scripts with this quick guide. Discover various methods including command substitution, arithmetic evaluation, and custom …
↗
How-tos
Bash Profile in macOS
This tutorial provides a comprehensive guide on managing your Bash profile in macOS. Learn how to create, edit, and delete your Bash profile effectively. Whether you're a beginner …
↗
How-tos
How to Search for Files With a Filename Beginning With a Specified String in Bash
This tutorial provides a comprehensive guide on how to search for files with a filename beginning with a specified string in Bash. Discover effective methods using the `find` …
↗
How-tos
How to Modify a Global Variable Within a Function in Bash
Learn how to modify a global variable within a function in Bash with this comprehensive tutorial. Explore different methods including direct assignment, using the declare command, …
↗
How-tos
How to Multiply Variables in Bash
This tutorial teaches you how to multiply variables in Bash using various methods including expr, arithmetic expansion, and bc for floating-point numbers. Learn step-by-step …
↗
How-tos
How to Add the WSL Bash Shell to Windows
Learn how to add a Bash shell to Windows through WSL.
↗
How-tos
How to Solve R Command Not Found on Bash (Or Cygwin)
This tutorial demonstrates how to solve the r command not found in Bash or Cygwin.
↗
How-tos
The History Command in Linux
This tutorial shows using the history command to display the Bash history, to search in history, to remove commands in history and to clear the whole history.
↗
How-tos
The timeout Command in Bash
This article discusses how to use timeout functionality in Bash.
↗
How-tos
How to Recursively Find Files in Bash
This is a brief programming guide about the find command in Bash.
↗
How-tos
How to Kill Process in Bash
This article explains killing a Linux process using Bash.
↗
How-tos
How to Get Length of String in Bash
This article will explain finding string length using Bash.
↗
No articles found
Try clearing the filters.