Search Results

Search: Posts Made By: padi
1,827
Posted By padi
Thanks Jim.... Just to share to everyone the...
Thanks Jim....

Just to share to everyone the updated code using eval:


cat ./list.txt|while read xLine
do
cmd=`echo $xLine | awk -F "|" '{print $2}'`
echo "========="
eval "$cmd"
done
1,827
Posted By padi
Reading of variable in a single line command
Hi All,

Below is a sample command that I can run without any problem in the command line.

Command Line
dtToday=`date +%Y%m%d`; ls -ltr ./filename_${dtToday}.txt
-rw-r--r-- 1 monuser oinstall...
996
Posted By padi
Thanks Don for the quick revert. Really...
Thanks Don for the quick revert. Really appreciate the help...
996
Posted By padi
Hi Don, I just wanted to know how this can...
Hi Don,

I just wanted to know how this can be done using awk, wherein the first column contains the filename and the second column prints the content of the file per line in the output. The...
996
Posted By padi
Another awk problem
Hi Guys,

I need help on how can I layout the output file using AWK. Pls. see sample data below...

Sample Data:

Filename1|<display content of Filename1>
Filename2|<display content of...
4,548
Posted By padi
Returned Value after execution of the code is 1. ...
Returned Value after execution of the code is 1. Pls. see last line in bold font...

scp -v sample.txt isodadm@10.225.2.10:.
echo $?

Executing: program /usr/bin/ssh host 10.225.2.10, user...
4,548
Posted By padi
Here's the result: $ scp -v sample.txt...
Here's the result:


$ scp -v sample.txt someuser@10.225.2.10:.
Executing: program /usr/bin/ssh host 10.225.2.10, user someuser, command scp -v -t .
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01...
4,548
Posted By padi
Hi Neo, I already provided the information...
Hi Neo,

I already provided the information that frank_rizzo asked.

Can someone crack the problem that I raised? Thanks.
4,548
Posted By padi
Any idea? Thanks
Any idea? Thanks
4,548
Posted By padi
SSH Version: OpenSSH_4.3p2, OpenSSL...
SSH Version: OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008


scp /some/folder/sample.txt <userName>@sunbox:/some/remote/path/
echo $?


Return code is 0
4,548
Posted By padi
SCP During Transfer to SunOS
Hi,

I'd like to seek your help in finding the cause of this problem. I utilize SCP command to transfer files from one server to another. I utilize the return code that SCP return so as to verify...
Forum: HP-UX 06-03-2010
3,399
Posted By padi
Hi Jim, Based on your advise, I copied the...
Hi Jim,

Based on your advise, I copied the PATH contained in the /etc/profile and pasted it in the script and it worked fine.

Is there another way of doing it instead of pasting the path in the...
Forum: HP-UX 06-02-2010
3,399
Posted By padi
Manual vs Cron execution in HP-UX
Below is a simple script that will find the path were the perl command reside.
=========================

#!/usr/bin/sh

nPerl=`which perl 2>>/dev/null|grep -v "no perl"`
if [ -z "${nPerl}" ];...
Showing results 1 to 13 of 13

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