Skip to content

Latest commit

 

History

History
 
 

ex02

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Second Bash Exercise

Write a script that

..*Takes a pattern (which may contain spaces) as an argument.

..*uses recursive ls (manpage) to find all directories below the current working directory, which have a relative path, that matches the pattern.

..*prints the relative paths of these matching directories.

..*script operates ONLY FULL WORDS(e.g. FIND, FOLDER, etc)

..*search is maked in original case only (FILE != file )