(a)Write script to determine whether given file exits or not. Filename is supplied as command line argument. Also check for sufficient number of  command line arguments.  (b) Write a shell script to find or search files in given directory using grep command.

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN:9781337569798
Author:ECKERT
Publisher:ECKERT
Chapter4: Linux Filesystem Management
Section: Chapter Questions
Problem 21RQ: Given the following output from the is command, how many files are linked with...
icon
Related questions
Question

(a)Write script to determine whether given file exits or not. Filename is supplied as command line argument. Also check for sufficient number of  command line arguments. 

(b) Write a shell script to find or search files in given directory using grep command.

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Header Files
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L