Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

FOR UNIX Preparation: Create a file and type some junk in it. Make at least five soft links to this file using completely arbitrary names.

FOR UNIX

Preparation:

Create a file and type some junk in it.

Make at least five soft links to this file using completely arbitrary names.

Script

Script Name: softLinkFinder.txt

Arguments: A filename. The files for which we want to find soft links.

Validation: The minimum validation requirements are:

Ensure that exactly one argument is entered.

Check that the only argument is the name of a file that exists.

Body Section: Use the ls l and grep command to find all the soft links attached to $argv[1] positional parameter. Note that a file of type softlink is distinguished by lowercase l. Be sure to find the soft links to the file defined in $argv[1] and not other files.

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

The Temple Of Django Database Performance

Authors: Andrew Brookins

1st Edition

1734303700, 978-1734303704

More Books

Students also viewed these Databases questions

Question

3. Evaluate findings and obtain feedback from group members.

Answered: 1 week ago