Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

INTRO TO UNIX QUESTIONS. Please, Answers only! Thanks. 1. Write a shell script to validate password strength. Here are a few assumptions for the password

INTRO TO UNIX QUESTIONS.

Please, Answers only! Thanks.

1. Write a shell script to validate password strength. Here are a few assumptions for the password string.

-Length should be a minimum of 8 characters.

-Contain both alphabet and number.

-Include both the small and capital case letters.

-If the password doesnt comply to any of the above conditions, then the script should report it as a Weak Password otherwise display a Strong Password

2. Please explain what the following shell script is doing

#!/bin/bash dir=$1 for file in `ls $1/*` do mv $file $file.new done

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books