Name: Anonymous 2012-11-13 21:54
Hey prog, can you help me with my BASH scripting assignment?
Can't get this question.
4. Write a BASH script that takes a file name and a directory name as command line arguments and removes the file if it is found under the given directory and is a simple file. If the file (the first argument) is a directory, it is removed (including all the files and sub-directories under it).
Thanks in advance.
Can't get this question.
4. Write a BASH script that takes a file name and a directory name as command line arguments and removes the file if it is found under the given directory and is a simple file. If the file (the first argument) is a directory, it is removed (including all the files and sub-directories under it).
Thanks in advance.