Skip to content

scripting lab2

fikirmulu edited this page Nov 27, 2018 · 4 revisions

group name: search party Assignment: where did i put that file enter the file name you want to search for. enter the path to check. write the command $path2check -name $num3 -print -quit | grep -q '^'; then echo echo echo the file exists

bash finder.sh

Enter the file name you want to search.

Enter the path to check. (/ for root)

Result:

The file exists! The file does not exist!

Clone this wiki locally