DEV Community

s
s

Posted on

aliases and functions define things that act like commands; export marks a variable to be exported to child processes.

You're asking about two very different categories of things: aliases and functions define things that act like commands; export marks a variable to be exported to child processes. Let me go through the command-like things first:

An alias (alias ll='ls -l') defines a shorthand for a command. They're…

Top comments (0)