Search Results

Search: Posts Made By: oraclermanpt
6,982
Posted By oraclermanpt
Check status of long running multiple curl commands in shell script
I am working on script. it reads a file which contains multiple lines
Ex;
curl --write-out %{http_code} --silent --output /dev/null http://hostname:port/input=1
curl --write-out %{http_code}...
1,171
Posted By oraclermanpt
awk add all columns if column 1 name matches
Hi - I want to add all columns if column1 name matches.



TOPIC1 5 1 4
TOPIC2 3 2 1
TOPIC3 7 2 5
TOPIC1 6 3 3
TOPIC2 4 1 3
TOPIC3 9 5 4
. . . .
. . . .
. . . .


Result...
993
Posted By oraclermanpt
I tried below worked for me. sed...
I tried below worked for me.

sed 's/$.*/.jsp/g'


Not sure if it has any edge cases. Thanks for reply.
993
Posted By oraclermanpt
Replace characters between $ and . with .
Hi -
I have below in put to demo.txt

/test/xyz/ibcdownload.jsp
/test/xyz/pvxprogramtreeovermain.jsp
/test/xyz/jtfrsrsr$HtmlTag.jsp
/test/xyz/csdronumlov.jsp
/test/xyz/iecvaluereset.jsp...
900
Posted By oraclermanpt
How to remove line if $ symbol appear anywhere in the line?
cat demo.txt has below lines

/test/xyz/ibcdownload.jsp
/test/xyz/pvxprogramtreeovermain.jsp
/test/xyz/jtfrsrsr$HtmlTag.jsp
/test/xyz/csdronumlov.jsp
/test/xyz/iecvaluereset.jsp...
1,489
Posted By oraclermanpt
Generate class path dynamically based on source path
Hi experts,

I have multiple file names ending with .jsp located in $SOME_DIR, $SOME_DIR/f1/,$SOME_DIR/f2/test,$SOME_DIR/f3/fa
and there are equivalent class files in...
4,193
Posted By oraclermanpt
-bash-3.2$ /usr/bin/ssh -t -o...
-bash-3.2$ /usr/bin/ssh -t -o stricthostkeychecking=no jboss@server1 "ls -l"
total 12
drwxr-xr-x 13 jboss mware 4096 Sep 16 15:55 EAP-6.4.0
drwxr-xr-x 8 jboss mware 85 Sep 16 16:05 XYZ...
4,193
Posted By oraclermanpt
Remote script via SSH not executing
I have worked on multiple scenarios to execute remote script via ssh.
This problem I am not able to resolve.

2 linux hosts. Server1, Server2

on Server1 I have script called...
4,997
Posted By oraclermanpt
How to store remote variable from remote cat file ??
I am trying to cat on a file located on remote server and assign it to remote variable.


I have both local and remote variables. Running below script from local. test.sh


J_NAME=XXX2...
3,869
Posted By oraclermanpt
Thanks agama I was scratching my head as what ...
Thanks agama I was scratching my head as what that number was. How do I get the current time stamp instead of seconds passed from 1970.

Thanks,
3,869
Posted By oraclermanpt
how to store time in .bash_history file
Hi - user commands are written in . bash_history of that user when he logs out. my bash_history file shows. not sure what that number means

#1329618972
ls -la
#1329618978
ls
#1329618980
ls...
1,928
Posted By oraclermanpt
Hi Corona - I appreciate your help at this time....
Hi Corona - I appreciate your help at this time. My intention was never to bump the posts and get answer immediately. Not sure how this forum update of posts works. Probably I need to visit "You...
1,928
Posted By oraclermanpt
we have multiple users having access to orapps....
we have multiple users having access to orapps. anyone can change permissions on the history file delete some lines and revert permissions back as it was.

---------- Post updated at 04:13 PM...
1,928
Posted By oraclermanpt
User account logging
Hi - I want to log commands typed by oraapps user with time into some log file on runtime.

HISTTIMEFORMAT="%d/%m/%y %T " works but any one with oraapps user can delete the history.

OS : RHEl...
2,367
Posted By oraclermanpt
directory structure & file permisson comparison
Hi - I want to compare permissions of the directory structure and files beneath it with permissions one week back on same directory structure and files beneath it. if any changes to permissions of...
Showing results 1 to 15 of 15

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