How To Find Alias In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Use the alias command: You can use the alias command to list all aliases for the current user. Just open your terminal and type the following command:
alias
2. Use the grep command: You can use the grep command to search for aliases in your ~/.bashrc file. Just type the following command:
grep -i alias ~/.bashrc
3. Use the cat command: You can use the cat command to view the contents of the ~/.bashrc file. Just type the following command:
cat ~/.bashrc