Config User Guide
You can store repeated command options in a config file so that you wont have to keep typing them.
To start, create a text file called .magic.yaml
inside your home directory, $HOME/.magic.yaml
, notice how it starts with a dot, that's a hidden file attribute in Unix/Linux world.
For example here is a content of .magic.yaml
in which we are storing the USB adapter info and the SSID name:
Once you have such data in your .magic.yaml
file, you can then simply run the magic
command this way and it will automatically fill the missing info from the .yaml
file.
Example:
Here is a list of the available options that can be stored in the config file:
note
You can use the #
character to add comments or disable options inside the config file.