DEV Community

Bash

Bourne Again Shell

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Leveling Up Your Terminal/Command-Line Navigation

Leveling Up Your Terminal/Command-Line Navigation

113
Comments 7
2 min read
How I manage my dotfiles using GNU Stow

How I manage my dotfiles using GNU Stow

34
Comments 3
9 min read
Having fun with Sparrow6 Framework

Having fun with Sparrow6 Framework

5
Comments
4 min read
Enforcing Conventional Commits using Git hooks

Enforcing Conventional Commits using Git hooks

39
Comments 1
3 min read
Using shell/bash commands in code? Use "long" options

Using shell/bash commands in code? Use "long" options

9
Comments 1
2 min read
Sam's dotfiles highlights

Sam's dotfiles highlights

19
Comments 6
3 min read
How to Empirically Determine Which Shell You're Using

How to Empirically Determine Which Shell You're Using

9
Comments
8 min read
Using TTY::Prompt for your CLI app

Using TTY::Prompt for your CLI app

22
Comments 5
5 min read
bash - lazy completion evaluation.

bash - lazy completion evaluation.

7
Comments
3 min read
Smarter git checkout with fzf

Smarter git checkout with fzf

20
Comments 5
2 min read
How I Vim

How I Vim

67
Comments 3
3 min read
Automatically Fix grub

Automatically Fix grub

5
Comments 2
4 min read
Customize shell prompt

Customize shell prompt

14
Comments
6 min read
Print a Random Phrase With Shell Script

Print a Random Phrase With Shell Script

6
Comments
1 min read
Must Know Shell Keybindings 🐧🐚

Must Know Shell Keybindings 🐧🐚

8
Comments 2
2 min read
Enforcing Git Commit Message Style

Enforcing Git Commit Message Style

14
Comments
3 min read
Switching between binaries

Switching between binaries

6
Comments
2 min read
ABS, a scripting language with a simple syntax and the convenience of bash

ABS, a scripting language with a simple syntax and the convenience of bash

6
Comments 2
7 min read
CLI Flags in Practice + How to Make Your Own CLI Command with oclif

CLI Flags in Practice + How to Make Your Own CLI Command with oclif

34
Comments
7 min read
Don't Use Bash for Scripting (All the Time)

Don't Use Bash for Scripting (All the Time)

149
Comments 32
7 min read
Sterilizing bash history

Sterilizing bash history

7
Comments
2 min read
nohup for running remote scripts

nohup for running remote scripts

6
Comments
2 min read
Adding permissions without permission

Adding permissions without permission

10
Comments 4
1 min read
Changing the Git history

Changing the Git history

8
Comments
1 min read
Hello, Worm!: Mapping SSH probes with a bash script

Hello, Worm!: Mapping SSH probes with a bash script

49
Comments 8
2 min read
Table to json with jq and awk

Table to json with jq and awk

7
Comments 4
1 min read
Undo changes in Git - Cheat sheet for git checkout, stash, reset, clean, revert, rebase -i, amend

Undo changes in Git - Cheat sheet for git checkout, stash, reset, clean, revert, rebase -i, amend

349
Comments 4
8 min read
Why ${1+"$@"} is used in shell script

Why ${1+"$@"} is used in shell script

19
Comments 2
6 min read
Ssh-bulk-check - Super flexible check of group of nodes by ssh.

Ssh-bulk-check - Super flexible check of group of nodes by ssh.

5
Comments
4 min read
Merging piped `stdin` with command-line arguments within Bash

Merging piped `stdin` with command-line arguments within Bash

6
Comments
2 min read
I've been using cat and vim for the wrong reasons for so long...

I've been using cat and vim for the wrong reasons for so long...

15
Comments 7
1 min read
Shells: How To Use A Modified Environment In Commands

Shells: How To Use A Modified Environment In Commands

15
Comments 6
2 min read
Git: estatísticas simples, bash-style

Git: estatísticas simples, bash-style

9
Comments
1 min read
How to cut an mp3 file into multiple audios with bash and ffmpeg according to a timetable.

How to cut an mp3 file into multiple audios with bash and ffmpeg according to a timetable.

7
Comments 5
1 min read
macOS Quirks: Bluetooth Device Battery Low

macOS Quirks: Bluetooth Device Battery Low

8
Comments
2 min read
Setting up new Laptop and Upgrading to Homebrew 2

Setting up new Laptop and Upgrading to Homebrew 2

8
Comments
4 min read
One-command file sharing with upload.express

One-command file sharing with upload.express

24
Comments 4
1 min read
BASHing through the terminal

BASHing through the terminal

18
Comments 8
2 min read
Fun with BASH Pt:1 Scripting

Fun with BASH Pt:1 Scripting

12
Comments
5 min read
4 Simple Steps For Custom Bash Commands

4 Simple Steps For Custom Bash Commands

81
Comments 11
2 min read
Some really cool command line utilities which increase your productivity.

Some really cool command line utilities which increase your productivity.

6
Comments
2 min read
Short Circuiting in Bash

Short Circuiting in Bash

44
Comments
3 min read
TIL - Unix shells have a $RANDOM env variable

TIL - Unix shells have a $RANDOM env variable

7
Comments 2
1 min read
Três comandos que você precisar ter em seu terminal

Três comandos que você precisar ter em seu terminal

7
Comments
1 min read
Unset All Variables Matching a Pattern

Unset All Variables Matching a Pattern

6
Comments
1 min read
Beginner’s Guide to Executables and Where To Store Them

Beginner’s Guide to Executables and Where To Store Them

80
Comments 5
3 min read
How to find a file by content?

How to find a file by content?

7
Comments
1 min read
Multiple Heroku Environments

Multiple Heroku Environments

5
Comments
1 min read
Stop un-tagged instances

Stop un-tagged instances

8
Comments
1 min read
Continuous integration in projects using monorepo

Continuous integration in projects using monorepo

7
Comments
4 min read
Git users and their last commits

Git users and their last commits

6
Comments
1 min read
Advanced Argument Handling in Bash

Advanced Argument Handling in Bash

134
Comments 2
14 min read
TIL: Curly Bracket Substitution

TIL: Curly Bracket Substitution

19
Comments
1 min read
How to fix macOS corrupt Trash

How to fix macOS corrupt Trash

9
Comments 3
3 min read
How I increased my productivity using dotfiles [updated]

How I increased my productivity using dotfiles [updated]

190
Comments 9
8 min read
Command Magicks: How to Manipulate Files and Strings from the Terminal

Command Magicks: How to Manipulate Files and Strings from the Terminal

9
Comments
5 min read
How to Start Using the Terminal to Be More Productive

How to Start Using the Terminal to Be More Productive

8
Comments
6 min read
A short and satisfying bug hunt

A short and satisfying bug hunt

6
Comments
3 min read
Handling Arguments in Bash Scripts

Handling Arguments in Bash Scripts

228
Comments 15
5 min read
Trim a string in shell script

Trim a string in shell script

7
Comments
1 min read
loading...