A directory consists of different types of files ( .c, .txt and .sh ). Write a shell script to segregate and store the name of the files according to their types, into separate files. [You have to create three separate files, for the files with .c , .txt and .sh extension].
A directory consists of different types of files ( .c, .txt and .sh ). Write a shell script to segregate and store the name of the files according to their types, into separate files. [You have to create three separate files, for the files with .c , .txt and .sh extension].
Chapter14: Files And Streams
Section: Chapter Questions
Problem 1E
Related questions
Question
A directory consists of different types of files ( .c, .txt and .sh ). Write a shell script to segregate and store the name of the files according to their types, into separate files. [You have to create three separate files, for the files with .c , .txt and .sh extension].
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L