Search Results

Search: Posts Made By: Jcpratap
3,057
Posted By Jcpratap
Echo command not working in the script
HI
I have and echo command which works perfectly in the shell but when i execute in the script it gives me an error code

query is as below

QUERY=`echo "Select...
Forum: Programming 09-02-2016
1,439
Posted By Jcpratap
HI , I resolved the error , actually it...
HI ,
I resolved the error , actually it required use of a different perl at the shebang line.
after changing the perl path its working

thanks all for your support.
Forum: Programming 08-30-2016
1,439
Posted By Jcpratap
thanks for the reply , now this part is resolved...
thanks for the reply , now this part is resolved but again i am facing issue in a subsequent code where I am printing based on value of a variable.

code is below

$free = unpack("x64L",...
Forum: Programming 08-30-2016
1,439
Posted By Jcpratap
Perl subroutine returning different values in HPUX
HI ,
I am running a program on hpux in perl.
I am encountering a strange issue where when i print a variable in the sub which is returning it , it prints a different value but when i call it and...
3,980
Posted By Jcpratap
thanks awk '/[^/]+/{sub(/\/$/,X)}1' works ...
thanks

awk '/[^/]+/{sub(/\/$/,X)}1' works

can you explain the same
3,980
Posted By Jcpratap
Using sed inside system call in awk
HI ,
I am trying to write a code where if a file system has / at the end then replace it with null but it should not affect root file system /

for example if
ip is /var/opt/home/ then o/p is...
5,118
Posted By Jcpratap
Passwordless sftp connection from UNIX to windows server
HI ,
I am trying to make a passwordless sftp connection from a unix server to windows server

I have used a existing script which is like this

cd /home150/adm/.ssh/
ssh-agent /usr/bin/ksh...
1,102
Posted By Jcpratap
I used both , fo 1st one i couldnt grep any...
I used both ,
fo 1st one i couldnt grep any select etc commands in strings O/P

my O/P is


strings PB2bTx_001
@(#) fml/libfml/fml32.h $Revision: 1.14 $
@(#) tuxedo/include/atmi.h ...
1,102
Posted By Jcpratap
Finding All Pro *C executables
Hi ,
I want to find all Pro *C executables in a directory say /.

When i fire file command on Pro*c file it gives below o/p

ELF-64 executable object file - PA-RISC 2.0 (LP64)

my system...
2,935
Posted By Jcpratap
The issue was due to tailing whitespaces. ...
The issue was due to tailing whitespaces.

Thanks for help
2,935
Posted By Jcpratap
Find command "mssing conjuction error"
Hi ,
I am executing command

find /LOG_RECV -type f -mtime +100 ! -name flag_\* \
! -path "/LOG_RECV/CPCN/DOC/*" \
! -path...
2,214
Posted By Jcpratap
Hi, I read about Berkeley DB , but i think it...
Hi,
I read about Berkeley DB , but i think it doesnt support SQL queries.
Most of my work will be through sql queries through UNIX.

Is there any tool,small DB or any other solution for it?
...
2,214
Posted By Jcpratap
Hi , I am using the sqlite , but the problem is...
Hi ,
I am using the sqlite , but the problem is sqlite is working on Linux, but it is not getting installed on HP UX , it is giving below error.
My requirement is to make a file transfer tool which...
2,214
Posted By Jcpratap
Thanks, I have decided to use sqlite, I am...
Thanks,

I have decided to use sqlite, I am also looking a way to put all my shell scripts in package and deploy that package.

Is there any way to bundle all scripts in a package?
2,214
Posted By Jcpratap
Small database that can be bundled with UNIX
Hi All,
I am working on a file transfer tool between unix servers.
for this i am looking for a small database which is free and compatible with all unix OS and can be bundled in a package with...
Forum: Web Development 12-23-2013
1,689
Posted By Jcpratap
Scheduling automatic Internet explorer login
Hi ,
I am using windows XP and IE8
I have my credentials stored for a website in internet explorer.
I want to implement below scenario.


I have entered both username/password for a website...
1,494
Posted By Jcpratap
Linux : getting error while executing mkfs
Hi All,
i am getting below error while executing mkfs after creating a new partition in linux

/dev/sda2 is apparently in use by the system ; will not make a filesystem here.

Anyone having...
Forum: Solaris 02-21-2013
1,700
Posted By Jcpratap
/usr/lib/vhost.so missing Solaris 5.10
Hi,

i have a solaris 5.10 machine on which i am getting below error while
executing cat command

ld.so.1: cat: fatal: vhost.so: open failed: No such file or directory
Killed

it is...
2,194
Posted By Jcpratap
same error is occuring. i only moved...
same error is occuring.
i only moved LD_LIBRARY_PATH to check but still not working.

it is related to some package not installed.
2,194
Posted By Jcpratap
below is o/p $ type find find is...
below is o/p

$ type find
find is /usr/bin/find
$ type ls
ls is a tracked alias for /usr/bin/ls

---------- Post updated at 05:01 AM ---------- Previous update was at 04:12 AM ----------
...
2,194
Posted By Jcpratap
i have tried changing LD_LIBRARY_PATH but still...
i have tried changing LD_LIBRARY_PATH but still no results.
2,194
Posted By Jcpratap
Getting library related error while executing a script
Hi ,

while executing below lines of a script

compress /var/opt/MMS/NSM/dumpAlarm.1*
find /var/opt/MMS/NSM/dumpAlarm.1*.Z -mtime +30 -exec rm {} \;



i am getting below error

...
10,435
Posted By Jcpratap
i know setfacl -m option to grant permissions to...
i know setfacl -m option to grant permissions to a user , but i want to know what is the mask in this case and how it effects the other permission and also what is effective rights mask

----------...
10,435
Posted By Jcpratap
What is mask and effective right mask in setfacl?
Hi Guys,

can someone explain what is mask and effective right mask in setfacl and
getfacl command with example, unable to get it.
Forum: Solaris 01-28-2013
7,137
Posted By Jcpratap
i fired dspmq with root user but its...
i fired
dspmq

with root user but its saying no command found

also



its not giving any O/P
Showing results 1 to 25 of 66

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