Question: Consider the following alias: alias dirc='ls -l | grep '^d' | wc -l' What EXACTLY will this alias do when it is executed? The alias

Consider the following alias:

alias dirc='ls -l | grep '^d' | wc -l'

What EXACTLY will this alias do when it is executed?

The alias will list the sub-directores in the current directory.

The alias will count the files in the current directory.

The alias will output the number of sub-directories in the current directory.

The alias will grep for the file called ^d.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!