Alias is definitely one of those commands which we would have read about in the beginners books on learning unix. But it took me 10 years to really use this command.
I had to change directories frequently and was tired of typing the whole directoy path and was thinking of a smarter way to accomplish it. I googled for a while and found this method.
alias abc = ‘cd change/to/directory/abc’
And now add the above command to the .profile so that we can just use the abc command when ever we want to move to the directory abc. Its very basic but pretty cool.
No comments:
Post a Comment