I am new to the unix system, and find it interesting to create customized functions and configurations in the setting files like .bashrc
and .inputrc
.
However, I don't understand the differences between the two. For example, when I created alias, I put them in .bashrc
.
Example 1: alias ...='cd ../../'
When I create operations like using arrow key to look for previous or next command, I put the command in .inputrc
.
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!
bc
(command line calculator),xfsprogs
(filesystem admin programs),sqlite
(a very small database system),lftp
(a command-line ftp client), and more. – mattdm Feb 15 '18 at 21:34.bashrc
and nothing happened. They only have effect being set in.inputrc
– d.k Nov 05 '18 at 18:01