Get PCs Place Updates
More in 'Linux'
PCs Place on Facebook
We use certain commands frequently; some are very long and irritating to type in again and again. You could use the ‘alias’ command to assign aliases, but the result is temporary. Let’s be smarter, hack a script file, and set permanent aliases for such commands.
Lets know how to Create Permanent Alias for this Command. For our example, we’ll take the command ‘clear’. We use this command very frequently and many a time, it bugs one to re-type it!
The edited colorls.sh file should look as in the screenshot above.
Now open the terminal or konsole window, hit [Enter], and then [C] to check if the alias works. The alias should work even if you reboot your machine. like wise create aliases for all your frequently used commands to simplify your work.
Related posts: