You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Zouhair AMAZZAL e2e32458af docs(find-files): add pipe and && reminder in doc 2 years ago
..
README.md docs(find-files): add pipe and && reminder in doc 2 years ago

README.md

find-files

Instructions

"start finding ..."

Create a file find-files.sh, which will look for and show, in the current directory and its sub-folders:

everything that starts with an a or, all the files ending with a z or,

$pwd
<..>/find-files-example
$./find-files.sh
./folder2/zzzz
./folder3/asd
./folder3/sub-folder4/abc
./folder3/sub-folder4/a_correct
./folder3/sub-folder4/aefg
./folder3/asd 2
./folder3/ahmed
./folder1/aolder_lol
$

Hints

find command is used to search and locate the list of files and directories based on conditions you specify for files that match the arguments:

$find ~/
<all files and folders in the user home>
$find ~/ \( -type f \)
<all files in the user home>
$

May you will need to use pipe (|) and &&.

You have to use Man or Google to know more about commands flags, in order to solve this exercice! Google and Man will be your friends!