Search Results

Search: Posts Made By: Pinaki
3,576
Posted By Pinaki
#!/bin/bash _file="$1" [ $# -eq 0 ] && { echo...
#!/bin/bash
_file="$1"
[ $# -eq 0 ] && { echo "Usage: $0 filename"; exit 1; }
[ ! -f "$_file" ] && { echo "Error: $0 file not found."; exit 2; }

if [ -s "$_file" ]
then
echo "$_file...
3,576
Posted By Pinaki
Hi Ronald, Thank you for your reply. I have...
Hi Ronald,

Thank you for your reply. I have the permission for those folders to access but the main point where I am stucked is I can check the current date file size from a single folder but I...
3,576
Posted By Pinaki
Shell script to check current date file is created and with >0 kb or not for multiple directories
Hi All,

I am new in scripting and working in a project where we have RSyslog servers over CentOS v7 and more than 200 network devices are sending logs to each RSyslog servers. For each network...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy