How do you configure an alias for a command in Linux?

Experience Level: Junior
Tags: Linux

Answer

To configure an alias, run the following command:

alias c=clear

Then you can run the clear command like this:

c

Comments

No Comments Yet.
Be the first to tell us what you think.
Linux for beginners
Linux for beginners

Are you learning Linux ? Try our test we designed to help you progress faster.

Test yourself