1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-24 09:35:39 +01:00
pwncat/docs/source/commands/alias.rst
2020-05-23 15:35:46 -04:00

15 lines
718 B
ReStructuredText

Alias
=====
``alias`` is a simple command. It provides the ability to rename any built-in command. Unlike aliases in common shells,
this does not allow you to provide default parameters to commands. Instead, it simply creates an alternative name.
You can specify a new alias simply by providing the new name followed by the new name. For example, to alias "download"
to "down", you could do this in your configuration script:
.. code-block:: bash
alias down "download"
``alias`` takes as it's second argument a string. Passing anything else (e.g. a code block) will not produce the desired
results. The command you are aliasing must exist and be a standard command (no aliases to other aliases are supported).