Search Results

Search: Posts Made By: mohanpadamata
2,758
Posted By mohanpadamata
Unzip - percentage of uncompression
Hi Experts,

Recently i have faced couple of issues in uncompressing a file. File is is not getting uncompressed fully.i.e. E.g. say if the file has 1000 lines , it uncompresses 100 lines and...
7,059
Posted By mohanpadamata
Sorry Don. A bit detailed explanation, Code...
Sorry Don. A bit detailed explanation,

Code calls:
Shell script A calls a C program
C program calls Shell script B

Shell script B & C-program are fixed. I can't change them. Shell script B...
7,059
Posted By mohanpadamata
sed with Timestamp
Hi,

I would like to replace a "." with timestamp.
Constraint : I am making use of an existing shell script(called by a C program ) which reads the sed command from a properties file.I cant...
12,149
Posted By mohanpadamata
Checksum+SFTP
Hi ALL,

I use solaris OS and SFTP to get/put files from remote server.I use the below command ,
sftp user@host<<EOF
cd "dir"
get --checksum "filename"
EOF

I am getting a strange error as "...
7,607
Posted By mohanpadamata
Redirect SFTP Output only
HI Guys,

My requiement is to redirect output and error of sftp to a file.I have gone through few solutions given in this forum and got the alternate solution but not the one i want.

Below piece...
8,383
Posted By mohanpadamata
SFTP with '@' in username
Hi All,

Good morning !!

I have to connect to a sftp server using following details,
1) username contains "@" as part of it. eg: xyz@abc@servername
2) We have to use password to connect to the...
6,809
Posted By mohanpadamata
SFTP HANGS
Hi ,

we are writing a shell script to test connection of our destination servers and facing an issue if the destination server doesnt respond. we are using the following command.,
sftp -B...
4,824
Posted By mohanpadamata
Hi, the write permission to authorized keys...
Hi,

the write permission to authorized keys should be given in remote server. please correct me if i am wrong.

Also, what is the SFTP command i should use if the above step is done?

Thanks...
4,824
Posted By mohanpadamata
Same issue
Hi ,

I am also facing the same issue . I have exchanged the keys and the installation is proper(as per the remote server admin's). but i am still getting the password prompt.

I tried SSH option...
13,182
Posted By mohanpadamata
SFTP username
Hi ,

I have an issue with sftp username as i have @ character in the username.

eg: username=abc@123

when i do as below,

sftp abc@123@servername # Its taking only 123@servername .

Also,...
6,004
Posted By mohanpadamata
Wget-Forbidden error
Hi ,

I am using shell script to connect to a https site and download all the files in a directory.

eg:
wget --no-check-certificate -r -np --user=<username> --password=<passwd> -O temp.txt...
5,465
Posted By mohanpadamata
eval and variable assignment
Hi Frans,

Please find the code below enclosed between dashed lines.what is a code tag?

-------------------------------------------------
#!/usr/bin/ksh -p

#set -v -x

# Source OpUtils...
5,465
Posted By mohanpadamata
eval and variable assignment
Hi Frans,

i am passing 3 variables(which contain filenames) to the script and storing these in a string called FILES. Here FILES is not an array.later i am assigning this string FILES to an array...
5,465
Posted By mohanpadamata
eval and variable assignment
HI Frans,

Thank you. I am able to assign the filenames to a variable now . I have 3 variables like this. all of these are assigned to an array. i am able to get part of the filename (i.e. till the...
5,465
Posted By mohanpadamata
eval and variable assignment
Hi Frans,

Thank you very much. First step is working for me.

regarding the step#2, i maintain all the job related variables in a config script which gets evaluated at the start of every job....
5,465
Posted By mohanpadamata
eval and variable assignment
Hi,

i have an issue with eval and variable assignment.

1) i have a date value in a variable and that date is part of a filename,
var1=20100331
file1=${var1}-D1-0092.xml.zip...
4,815
Posted By mohanpadamata
CURL error
Hi Friends.

I have installed CURL in my system at /usr/local/bin/curl and i am getting error while trying use the command,

---------------

$ /usr/local/bin/curl Linux Operating System and...
4,815
Posted By mohanpadamata
Hi Pludi, Thanks for the information. ...
Hi Pludi,

Thanks for the information.

can i use them directly without installing anything in my solaris machine ?

could you give me some code snippets for those two commands ?

Thanks in...
4,815
Posted By mohanpadamata
Get files using https mode in unix scripts
Hello Friends,

I have a requirement to connect and get files from a server using https protocol.

1) COuld you please advise on how to establish connection between my server and remote server ...
2,232
Posted By mohanpadamata
Variable Substitution
Hi ,

I have a variable as follows,

Temp=`cat ABC.txt | cut -c5-`

This will yeild a part of the date. say , 200912.

I would like to substitute this variable's value in a filename.

eg:...
3,907
Posted By mohanpadamata
move to a particular position and line
Hi,

How can i move to particular line and to a particular position in a file using unix commands ?

eg: in the line 30 and position 10 i want to print my name in a file.

Cheers,
Mohan
19,297
Posted By mohanpadamata
Autosys kill command
Hi ,

I would like to kill more than one job using a single autosys kill command. any help please ?

Thanks,
Mohan
1,991
Posted By mohanpadamata
move to a particular line
Hi,

I need to create a report in unix by moving to specified lines and specified positions and print some strings etc..

for eg: i need to print a string on 15th line and 7th position of a...
3,717
Posted By mohanpadamata
Hi Joe, i will let you know the software...
Hi Joe,

i will let you know the software type ?

meanwhile , if it is winssh then the problem could be the winssh and it should be patched to allow this right ?

same is the case with openssh....
3,717
Posted By mohanpadamata
SFTP to windows
Hi,

i have an SFTP connectivity from unix(solaris) to Windows system and SFTP connectivity is established between these two.

Now we are trying to sftp files and we are able to do with small...
Showing results 1 to 25 of 39

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