Which of the following shells support the use of aliases?

Thê Hy

New member
Which of the following shells support the use of aliases?
A. bourne
B. Korn
C. bash
D. Korn and bash
 
Answer: d
Explanation: Bash and Korn shell supports the use of aliases which lets us assign shorthand names to frequently used commands. For example,
Code:
$ alias  a1=’ls  -l’    // quoting necessary for multiple words
$ a1                   // a1 will now execute the ls  -l command
 

Tìm kiếm

Back
Top