An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam. Built for students by a student to help them understand the concepts that they are being taught.
for dir in $(find /directory1/tmp -type d -a -user $LOGNAME -a -name "SAS*") do echo "Remove $dir (y/n)? "; read YN [[ $YN = Y || $YN = y ]] && rm -r $dir done
I just don't want to see this prompt message, because it is not my directory and I don't have permissions to delete it anyway.
find: cannot read dir /directory1/tmp/direcory12: Permission denied
find: cannot read dir /directory1/tmp/directory12: Permission denied Remove /directory1/tmp/SASdir1 (y/n)? n Remove /directory1/tmp/SASdir2 (y/n)? y Remove /directory1/tmp/SASdir2/SASsubdir1 (y/n)? n Remove /directory1/tmp/SASdir2/SASsubdir2 (y/n)? n
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.