(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.
(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.
Chapter4: Linux Filesystem Management
Section: Chapter Questions
Problem 21RQ: Given the following output from the is command, how many files are linked with...
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
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
Knowledge Booster
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.Recommended textbooks for you
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L