Search Results

Search: Posts Made By: aks_1902
Forum: Solaris 02-14-2018
1,492
Posted By aks_1902
Hello Team, whenever I am trying to...
Hello Team,

whenever I am trying to download the file on my windows system via ftp and trying to unzip it, its getting error out saying file has been corrupted.

Can you please let me know if...
Forum: Solaris 02-09-2018
1,492
Posted By aks_1902
Getting error while trying to unzip the file.
Hello Team,

I have written below code to zip the directory and all the files and folder under it, but getting an error whenever I am trying to download the file on windows machine and trying to...
1,695
Posted By aks_1902
Need command to capture word from shell script and send email
Hello Experts,

Greeting to all of you.

I have a requirement, that we have a shell script status.sh
that check the status of server and server status shows as status.sh

Enterprise Server -...
15,224
Posted By aks_1902
Awesome!!!! Thanks a lot
Awesome!!!! Thanks a lot
15,224
Posted By aks_1902
Use of Shift command
Hello Expert

Can any one please explain what is the use of shift command in general terms:


set -- $(ls -t)
shift
rm -Rf $*


what is the use of shift command over here.

Thanks a lot...
2,826
Posted By aks_1902
Hello zaxxon, I tried the above command ...
Hello zaxxon,

I tried the above command


$file New.tar

ouput is:
New.tar: tar archive


after using the coomand


tar -tvf New.tar

result:
its executing successfully but it not...
2,826
Posted By aks_1902
Hello, No I am did not get any error while...
Hello, No I am did not get any error while running the un-tar command....Moreover in the screen it showing that its doing the un-tar, but the when commands execution finish it shows the the same

...
2,826
Posted By aks_1902
Not able to untar file
Hello Experts,

I have requirement in which a file is present in the folder_test. In that folder there is file called Test.tar.gz.20111102. Now my requirement is i have to rename this file to...
955
Posted By aks_1902
Hi Ahamed, Yes, the file is getting created...
Hi Ahamed,

Yes, the file is getting created on monthly basis....every month end a new file will be created and I have to move the oldest file to some other location.

Thanks a lot experts...
955
Posted By aks_1902
Need help in sorting the file and copying
Hello Experts,

I have a requirement:

In a directory, four files are getting created on monthly basis, having timestamp in the end of every file. I want to arrange file in ascending order and...
3,990
Posted By aks_1902
Hello Amit, Can you please help me clearing...
Hello Amit,

Can you please help me clearing one doubt....

If i run the below script...

#!/bin/bash

TODAY=`/bin/date +%d`
TOMORROW=`/bin/date +%d -d "1 day"`

# See if tomorrow's day is...
3,990
Posted By aks_1902
Need help in running script on last day of month
Hello Experts/Guru,

I need a help in running the script on every month last day....

PS: due to some constrain I can't schedule in crontab

Requirement:

On Jan 31st i want to run some...
2,803
Posted By aks_1902
run the script on every 31st of month.....
Hello expert,

I need a logic code {don't want to schedule into crontab} which can run some of my code on 31st of Jan, March, Mya, Aug, Oct, Dec.....


Ex:

if [date "+%b %d, %Y" -eq Oct 24,...
861
Posted By aks_1902
How to update folder name after every 2 month
Hello Guru,

I need a logic which can rename my folder after every two month with current time stamp...

ex:
if folder name is
My_Folder_20102011

then after two month it should be ...
858
Posted By aks_1902
Hello, No I mean to say that on 31/03/2011...
Hello,

No I mean to say that on 31/03/2011 it should be updated, I will write a script which will put some data in that folder.


But it should done after every 3 or 2 month, my problem is how...
858
Posted By aks_1902
Need help for updating the folder
Hello Expert,

is there any command through which i can update/replace the folder after every two months.

lets say i have folder

/usr/local/x_folder

created on 01/01/2011

I need to...
1,651
Posted By aks_1902
thanks a lot for your response
thanks a lot for your response
1,651
Posted By aks_1902
Delete all except latest datetime entery folder
Hello Expert,

I have a strange requirement,

I have folder where weekly backup are taken...
week1_bkup_02102011
week2_bkup_09102011
week3_bkup_16102011
.
.
everyweek a backup is created
I...
7,981
Posted By aks_1902
Hi Jay, can you please tell me ...
Hi Jay,

can you please tell me

/bin/date +%d -d "1 day"

what does this -d "1 day" mean in above code.

thanks
7,981
Posted By aks_1902
run the script for last day of the month
Hello Experts,

I have a script which i want to run the on last day of every month.

let say I have backup.sh script which i want to run it every month last day.

Can anyone please help...
1,779
Posted By aks_1902
thanks a lot scottn
thanks a lot scottn
1,779
Posted By aks_1902
Hello Scottn i am getting below error ...
Hello Scottn

i am getting below error

mkdir: Not a recognized flag: 1

Usage: mkdir [-p] [-m mode] Directory ...


can you please suggest where I am wrong...
1,779
Posted By aks_1902
Error while creating directory
Hello Experts

while read dirlist
do
mkdir "$(echo "$dirlist" |\ awk -F\| '{gsub(/(+)/," ",$NF);gsub(/\.atr$/,""); print}')"
done < /user/Oracle/my_catalog/default/root/bkup/dirnames.txt...
1,164
Posted By aks_1902
Need help in creating directory
Hello Experts

let say we got a line a file named

/user/Oracle/my_catalog/default/root/webcat+backup+testing+07192011.atr
now i have to create a directory with name

webcat backup testing...
1,416
Posted By aks_1902
---------- Post updated at 07:34 AM ----------...
---------- Post updated at 07:34 AM ---------- Previous update was at 07:33 AM ----------

AWESOME THANKS A MILLION
:b::b:

---------- Post updated at 07:35 AM ---------- Previous update was at...
Showing results 1 to 25 of 38

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