Search Results

Search: Posts Made By: shipra_31
Forum: HP-UX 02-07-2012
34,130
Posted By shipra_31
No we cant link the directories as different user...
No we cant link the directories as different user will be making changes in there specific files and if we link it one can see changes made by one in another ...so its not a solution

We need to...
Forum: HP-UX 01-06-2012
34,130
Posted By shipra_31
yeh ..all the files get overwritten all day and...
yeh ..all the files get overwritten all day and then we have to come back to the previous state.

starting 25 process didnt help as it was loading the i/o

we found 5 process optimum.
Forum: HP-UX 01-06-2012
34,130
Posted By shipra_31
Faster command for file copy than cp ?
we have 30 GB files on our filesystem which we need to copy daily to 25 location on the same machine (but different filesystem).

cp is taking 20 min to do the copy and we have 5 different thread...
12,886
Posted By shipra_31
something like this may work ... #!/usr/bin/ksh...
something like this may work ...
#!/usr/bin/ksh
for i in `ls *.txt`
do
sftp user@hostname << EOF
cd <PATH>
put $i `basename ${i} txt`done
EOF
done
Forum: HP-UX 12-15-2011
2,662
Posted By shipra_31
vbe, yeh what i meant was we found a script...
vbe,

yeh what i meant was we found a script which was the main culprit ..and we are reviewing the script ..it was not closing as a result there were many scripts attached to cron and cron queue...
Forum: HP-UX 12-15-2011
2,662
Posted By shipra_31
Thanks i found the log under /var/adm/cron/log...
Thanks i found the log under /var/adm/cron/log ..i think it should be same


! c queue max run limit reached Thu Dec 15 00:01:00 CST 2011
! rescheduling a cron job Thu Dec 15 00:01:00 CST 2011...
Forum: HP-UX 12-15-2011
2,662
Posted By shipra_31
script in cron didnt run
Hi,

I have script in the cron which run at predefined time everyday.
If the script fails then we get the mail and a log is created.

But last night the script didnt run. If the script is even...
1,102
Posted By shipra_31
you can create a file where you can store the...
you can create a file where you can store the multiplying factor ... like 2 for day 2 ...3 for day 3 .... which u can read in the begininning and then update at the end ... and then reset when it...
2,339
Posted By shipra_31
By interactive i meant ... history...
By interactive i meant ... history command,aliases (as u mentioned) ... i have faced this issue in tcsh (not sure if its issue with tcsh or some setting which we have) ... i am not able to redirect...
2,339
Posted By shipra_31
Just FYI, I am concerned more about the...
Just FYI, I am concerned more about the interactive commands not scripts ...
2,339
Posted By shipra_31
Is TCSH in linux weak?
hi,

We are moving our machine from HP to linux.

On HP we had tcsh shell and was working fine for us and we are used to it.

But on linux, we are told tcsh doesnt work properly.

Is this...
1,686
Posted By shipra_31
ll subdirectory/*.*a*
ll subdirectory/*.*a*
1,749
Posted By shipra_31
just put in crontab for every 1 hr ...something...
just put in crontab for every 1 hr ...something like this



00 * * * * cat <path of logfile> | mailx email@some.com
19,847
Posted By shipra_31
u want space as in ' ' or the word space if...
u want space as in ' ' or the word space

if its word space then


sed 's/$/"space"/' input
1,823
Posted By shipra_31
this can be done with for loop ... $...
this can be done with for loop ...


$ for i in 1 2 3 4 5
> do
> echo "the number $i is number $i"
> done
the number 1 is number 1
the number 2 is number 2
the number 3 is number 3
the...
19,847
Posted By shipra_31
true ... just wrote out of habit :)
true ... just wrote out of habit :)
19,847
Posted By shipra_31
sed 's/$/ /g' input
sed 's/$/ /g' input
6,031
Posted By shipra_31
From the parent directory u can run ...
From the parent directory u can run


find . -name <script_name> | ksh
3,024
Posted By shipra_31
find . -type f | xargs grep -il "hello...
find . -type f | xargs grep -il "hello world"
2,701
Posted By shipra_31
sort input >output
sort input >output
2,782
Posted By shipra_31
see if this work while read one two...
see if this work


while read one two user
do
echo "please enter passwd for $user "
done <sample

please enter passwd for u1
please enter passwd for u2
please...
18,643
Posted By shipra_31
try using echo "testing 1 2 3 " | mail...
try using


echo "testing 1 2 3 " | mail -s "subject" abc.com -- -f abc. (shipraa@amdocs.com)com
1,052
Posted By shipra_31
probably this may help DEVENS...
probably this may help


DEVENS /oravl01/oracle/shipraa > sed 's/[A-Za-z0-9]*\.[A-Za-z0-9]*\.com//g' sample
This is a test file. This is an email address: . This is another line
This is...
18,643
Posted By shipra_31
check this...
check this https://www.unix.com/shell-programming-scripting/164703-mail-address.html

It can be done using

echo "testing 1 2 3 " | mailx -s "subject" -r <sender_mailid> <receiver_mailid>
3,042
Posted By shipra_31
this may not be the best way but it shld work ...
this may not be the best way but it shld work

for i in `cat input`
do echo "$i\c" >>output
done
Showing results 1 to 25 of 35

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