Search Results

Search: Posts Made By: nitinmathur18
9,007
Posted By nitinmathur18
I am having problem in copying files from local...
I am having problem in copying files from local to remote, Can some one help. The last line of the code mentioned in above post.
9,007
Posted By nitinmathur18
I have written the code just waiting for testing ...
I have written the code just waiting for testing

scp -r ecifetls@boom.nwie.net:/vol/ecif/etl/$ProjectTarget/parameterfiles/*.* /bfx/$ProjectTarget/parameterfiles/
find...
9,007
Posted By nitinmathur18
Thats correct Methyl but server1 is a production...
Thats correct Methyl but server1 is a production server , we should not be editing anything on that server. The ID which is used here doesn't have write access to those files.
I wish this could have...
9,007
Posted By nitinmathur18
i m trying to find and replace a string on remote...
i m trying to find and replace a string on remote server (SOLARIS) from Local server (Linux).
dbchange.sh is the script which gets executed on Solaris server to find and replace "String" it has a...
9,007
Posted By nitinmathur18
1. My browser had a issue and i could not realize...
1. My browser had a issue and i could not realize its going to be double post.
2. Script ran without replacing the string mentioned in dbchange.sh script
3. Bash script will run on Linux server and...
9,007
Posted By nitinmathur18
Any suggestions???
Any suggestions???
9,007
Posted By nitinmathur18
Do anyone has any suggestions ????
Do anyone has any suggestions ????
6,294
Posted By nitinmathur18
This is my final code which was tested and...
This is my final code which was tested and working fine.


#!/bin/bash
echo " Script for creating new project in informatica"
echo " ...
9,007
Posted By nitinmathur18
I copied the script to the remote server and...
I copied the script to the remote server and tested and it worked fine code is


#!/bin/ksh
find /devl/bfx/ecif/etl/visibility/parameterfiles/ -exec grep -l CNTCT {} \; | while read file
do ls...
9,007
Posted By nitinmathur18
Find and replace a string on remote server
Main script command

ssh user@server.XYZ.net export "'$ProjectTarget'" < /webdata/ecif/etl/scripts/dbchange.sh


dbchange.sh

#!/bin/bash
for file in find...
6,294
Posted By nitinmathur18
Local :- Linux Remote : Sun Solaris... Ok Now i...
Local :- Linux Remote : Sun Solaris...
Ok Now i understood what do u mean by code tags... i will follow this..Thanks
6,294
Posted By nitinmathur18
Sorry for not understanding ur direction...
Sorry for not understanding ur direction seriously i am trying to do what u expect from me. The system in SunOS 5.10 .
This is my first ever posting in this forum ...Thanks for guiding me
6,294
Posted By nitinmathur18
Error for reordering: mkdir: Failed to make...
Error for reordering:
mkdir: Failed to make directory "/devl/ecif/etl/"; File exists
tar: tape blocksize error
6,294
Posted By nitinmathur18
Script i ran: read proj_name export...
Script i ran:

read proj_name
export projectname=$proj_name
read Env
export Env=$Env
mkproj_dirs ( )
{
mkdir -p "$projectname"
cd "$projectname"
mkdir archivefiles dropbox logfiles...
6,294
Posted By nitinmathur18
i dont understand what mess i created .. i m...
i dont understand what mess i created .. i m sorry but if my participation is not as per forums standard i will no more post .. Thanks for the assistance so far...
6,294
Posted By nitinmathur18
Got it.. i will try this and let u know...Thanks ...
Got it.. i will try this and let u know...Thanks

---------- Post updated at 01:30 PM ---------- Previous update was at 12:13 PM ----------

for the this code :-

ssh $User@boom.nwie.net mkdir...
6,294
Posted By nitinmathur18
I intent to ssh server B from Server A and then...
I intent to ssh server B from Server A and then create directories in server B.

---------- Post updated at 11:28 AM ---------- Previous update was at 10:15 AM ----------

Sorry, But i am not...
6,294
Posted By nitinmathur18
i am running script mkdir_infor.sh on remote...
i am running script mkdir_infor.sh on remote server .Do you want me to copy this script on remote server to create the directories .. It would like copying script on env servers..
Any other...
6,294
Posted By nitinmathur18
i tried this .. not sure if i followed u...
i tried this .. not sure if i followed u correctly.. or missing something.
case $Env in
1) export Env=devl
export User=ecifetld
# mkproj_dirs...
6,294
Posted By nitinmathur18
#!/bin/bash echo " Script for creating new...
#!/bin/bash
echo " Script for creating new project in informatica"
echo " ***********************************************************"
echo " First creating stagging area for new project"...
6,294
Posted By nitinmathur18
i still get error as below: ...
i still get error as below:

ecifetld@ntac1rapvm0041> ./Create_proj_test.sh
Script for creating new project in informatica
***********************************************************
First...
6,294
Posted By nitinmathur18
ok will try ..tar option only for ssh ...
ok will try ..tar option only for ssh

---------- Post updated at 01:58 PM ---------- Previous update was at 01:43 PM ----------

When i tried this
ssh username@host exec /bin/bash -s...
6,294
Posted By nitinmathur18
Now i m trying to use the same function...
Now i m trying to use the same function mkprojs_dirs to create directories on remote server
6,294
Posted By nitinmathur18
Thanks for the reply , but i did not get ur last...
Thanks for the reply , but i did not get ur last line comment , can you pls let me know.
6,294
Posted By nitinmathur18
I tried these options 1. /usr/bin/ssh ...
I tried these options
1.
/usr/bin/ssh $User@boom.nwie.net "mkproj_dirs "/$Env/ecif/etl/$projectname""
ksh: mkproj_dirs: not found
2. /usr/bin/ssh $User@boom.nwie.net 'mkproj_dirs...
Showing results 1 to 25 of 31

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