I am new to the unix system, and find it interesting to create customized functions and configurations in the setting files like
However, I don't understand the differences between the two. For example, when I created alias, I put them in
Example 1: alias ...='cd ../../'
When I create operations like using arrow key to look for previous or next command, I put the command in
Example 2: "\e[A": history-search-backward
Why I need to put them in different setting files? How do I distinguish when to put what where?
Thank you in advance!