PrepAway - Latest Free Exam Questions & Answers

Which shell built-in command can be used to create a shortcut or pseudonym for a longer command?

Which shell built-in command can be used to create a shortcut or pseudonym for a longer command?
Assume a modern bourne like shell, such as bash.

PrepAway - Latest Free Exam Questions & Answers

A.
alias

B.
shortcut

C.
ln

D.
sudo

E.
link

Explanation:
Alias command is used to create like shortcut of long command.
Example: alias back="tar -cvf mytar.tar /root/*", here back will be the alias (shortcut) of complete "tar -cvf mytar.tar/root/*" command.


Leave a Reply