Tabulify - Bash Based Terminal
Table of Contents
A propos
Tabulify recommends to use a bash based terminal mostly to be able to pass easily an URL as argument, see the why section for more information.
This section helps you to get a bash based terminal up and running on your computer.
Installation and configuration
Installation
- On linux system, there is no installation need because bash is the default shell.
- On Windows, luckily, if you have Git For Windows, you have already Git Bash (ie MingWin). Otherwise, we invite you to download and install it.
Terminal Width Size
Set the width size of you terminal to a big enough number. We recommend 9000.
When listing some configuration, you may get a lengthy output (such as a list of a path) and the output will then not render nicely.
To avoid this inconvenient, our advice is to increase the width size of your terminal.
Example with Git Bash:
- Top-Left corner > Options > Window
Why do we recommend bash ?
Because bash supports to pass simply a URL as parameter whereas Windows CMD or Powershell do not.
The Windows CMD or Powershell shell see the & ampersand character of an URL as a special terminal character known as a control operator and split the URL.
For instance, if you want to copy:
- the content of the following URL https://en.wikipedia.org/w/api.php?action=query&titles=SQL
- in a CMD/DOS/Powershell terminal
- with the data copy command
tabli data copy "https://en.wikipedia.org/w/api.php?action=query&titles=SQL" sql.xml
Because of the ampersand, you will get the following error.
=query was unexpected at this time.
- On Windows shell, the ampersand must be then escaped
- While the same command line in a Bash would just run (because Bash creates token (word) of each argument and does not process them any further)