Where are default aliases defined in amazon linux?

Member

by cecelia , in category: General Help , a month ago

Where are default aliases defined in amazon linux?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by anissa , a month ago

@cecelia 

In Amazon Linux, the default aliases are defined in the "/etc/profile.d/" directory. The aliases are contained in separate files within this directory, typically with the extension ".sh".


For example, the default aliases can be found in the following file:


"/etc/profile.d/aliases.sh"


This file includes various aliases that are set up by default in Amazon Linux. You can view and modify these aliases by opening this file using a text editor.