Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: anaigini45
Forum: Red Hat 08-09-2017
4,915
Posted By anaigini45
Thank you so much for all the comments and...
Thank you so much for all the comments and suggestions.

I have now managed to compile the whole script, but still needs a bit more tweaking as there are few more errors.

Part of my script does...
Forum: Red Hat 05-05-2017
4,915
Posted By anaigini45
But I want to copy files with a certain date over...
But I want to copy files with a certain date over from one dir to another.
How do i do this?

I tried using the for loop like this :

[root@L28tstream1 emokheng]# for (( i=16; i<20; i++ ));
>...
Forum: Red Hat 05-05-2017
4,915
Posted By anaigini45
I don't know if the method I am using is complex,...
I don't know if the method I am using is complex, but the aim of this script is to generate reports every 1st, 7th and 15th of every month. However, the reports won't be generated until a few days...
Forum: Red Hat 05-05-2017
4,915
Posted By anaigini45
I have another question on command substitution. ...
I have another question on command substitution.
The same script, but different command substitution.

I simply run this command from the terminal :

[root@L28tstream1 emokheng]# stat -c %z * |...
Forum: Red Hat 04-19-2017
4,915
Posted By anaigini45
Thanks! That did the trick!
Thanks! That did the trick!
Forum: Red Hat 04-19-2017
4,915
Posted By anaigini45
Error when executing script
Hi,

I wrote this script to test if the output for DIR1 and DIR2 comes out as I want :

#!/bin/bash

DAY=$(date +%d)
MONTH=$(date +%b)
YEAR=$(date +%Y)
DIR1=$($MONTH$YEAR"_Blast_BC01")...
Showing results 1 to 6 of 6

 

Featured Tech Videos

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