In this video, I go over bash script once more, but this time I'm creating functions. I will teach you how to call this functions without the need to execute the shell file and I create several helpers functions to help on our daily life. I also show how to ask for user's permission before executing a command.
Subscribe: http://videos.qa-ops.com/subscribe
============TABLE OF CONTENTS===========
0:00 Introduction
1:31 Creating a function
3:25 Loading functions as part of the bash user profile
5:47 Creating a function to copy the terminal output (stdout) to the clipboar
7:33 Creating a command to delete all non defined branches
13:24 Asking for user's permission before executing the command
============DOCUMENTATION===========
docs: http://videos.qa-ops.com/docs
============GITHUB===========
Github: https://repos.qa-ops.com/github
Repository: https://github.com/qa-ops/shell-script
Branch: main
============MENTIONED VIDEOS===========
Unix terminal on windows: • Terminal unix | Configurando windows
Setting up git repository: • Repository setup | windows linux mac
Git tree structure explained: • Git explained | tree structure
Basic git commands: • Git cli explained | basic commands
Managing Branches: • Git CLI Explained | Managing Branches
Conflicts, alias and gitignore: • Git CLI Explained | gitignore alias c...
Dealing with files and directories: • Unix basics | Files and folders
Creating alias and bash profile: • Unix basics | alias and bash profile
Creating Symbolic links: • Unix basics | symbolic links
Logs, Tail and Watch: • Shell Script to simulate logs and usi...
Unix | VI simplified: • Unix | VI simplified
Every day Cut and Awk: • Every day Cut and Awk
Shell Script Introduction: • Bash Script | Introduction
============PLAYLISTS===========
Java RestAssured API: videos.qa-ops.com/java-restassured-automation
Unix Command Line: https://videos.qa-ops.com/unix-comman...
============SOCIAL MEDIAS===========
Twitter: https://social.qa-ops.com/twitter
LinkedIn: https://social.qa-ops.com/linkedin
====MUSIC BY====
Author: Simone Geravini
Licensed by: Zimo Music
/ @zimomusiclibrary