No, aliases in shell environments are not inherited by child processes. When you create an alias in a shell session, it is only available in that session and does not carry over to any subprocesses or child shells that you might start from it.
For example, if you define an alias like this:
alias ll='ls -la'
This alias will work in the current shell session. However, if you start a new shell session or run a script, the alias will not be available there unless it is defined again in that new session or included in a configuration file like .bashrc or .bash_profile.
To make aliases available in all future sessions, you can add them to your shell's configuration file:
echo "alias ll='ls -la'" >> ~/.bashrc
After adding it, you would need to source the file or restart the terminal for the alias to take effect:
source ~/.bashrc
