Shell

Scripting on the line

How to Save and Quit from vi

When you are editing in vi and want to save and quit make sure to follow the below steps: Press esc to exit from editing mode and enter command mode Enter :wq…

How to combine all text files of a folder into a single file using Bash on

You have a directory structure of a folder containing a handful of text files? And you want to merge all these files in that specific folder into a single text…