Question: Scripting in Linux: Write a linux script that checks the contents of the current working directory and prints the names of the directories and files
Scripting in Linux: Write a linux script that checks the contents of the current working directory and prints the names of the directories and files that are currently in it. It should print all the directory names in one group and the file names in another in a manner like below (including the tab whitespace):
Files:
file1
file2
Directories:
dir1
dir2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
