3 shell script tagged "exit status"
- Shell Script To Delete Files In The First Directory Which Are Similarly Named In The Second Directory
- Shell Script To Auto Restart Apache HTTPD When it Goes Down / Dead
- Shell Script to read source file and copy it to target file
A shell script that accepts two directory names as arguments and deletes those files in the first directory which are similarly named in the second directory.
A shell script to restart httpd / Apache from a cron job. It will monitor apache every 5 minute and restart the same if it goes down.
#!/bin/bash
# Shell to read source file and copy it to target file. If the file
# is copied successfully then give message ‘File copied successfully’
# else give message ‘problem copying file’
# ————————————————————————-
# Copyright (c) 2005 nixCraft project <http://cyberciti.biz/fb/>
# This script is licensed under GNU GPL version 2.0 or above
# ————————————————————————-
# This script is part of nixCraft [...]
Viewing 1-3 of 3 shell scripts. ( see all popular tags )

