Search Results

Search: Posts Made By: dbashyam
591
Posted By dbashyam
Thank you very much. Next time I will post what...
Thank you very much. Next time I will post what I tried.
591
Posted By dbashyam
awk or sed
Hi, I need a help.

I have the following log file entries

[28 Mar 2019 13:11:48,576] [Nsh-Proxy-Thread-102] [INFO] [admhowdy@blog.com:UNIXAdmins:100.0.0.1] [ROSSOPRO
XY] Connected to...
18,048
Posted By dbashyam
Pull Netgroup from Servers
Hi, How to pull netgroup from all servers

I think the netgroup resides in /etc/security/access.conf so I want to know how to get the list of netgroup in all the servers.

I have a jump server I...
8,222
Posted By dbashyam
How to convert the output into all caps. I tried...
How to convert the output into all caps. I tried the uc() function, may be I am not putting in the right syntax, any help
8,222
Posted By dbashyam
Hi Raja, thanks for the code and it works really...
Hi Raja, thanks for the code and it works really well to my expectation.

---------- Post updated at 12:06 AM ---------- Previous update was at 12:01 AM ----------

Also can you help me...
8,222
Posted By dbashyam
Thanks for pointing out i will change that. But...
Thanks for pointing out i will change that. But intention is same i want to convert csv to txt whereby the output should be as shown in box1.
8,222
Posted By dbashyam
Hi. Thanks for asking. My csv file looks as...
Hi. Thanks for asking.

My csv file looks as shown in box 5

The perl script convert that csv file into txt file as shown in box 3

I want this script or anyother way for that matter to have a...
8,222
Posted By dbashyam
Perl script to modify csv file
Hi Friends,

I want to convert a csv file into a ordinary .txt file. I am able to convert but I want the output to look as shown below in the .txt file


table findhost=
{
{"xyz","abc"},...
1,734
Posted By dbashyam
Hi, Thanks for your reply and the solution....
Hi,

Thanks for your reply and the solution. But, I am struck a bit hope to get a lift from you.


#!/bin/sh
set -x
for i in `cat serverlist`; do
sleep 2
vtask $i ". /etc/profile.CA all;...
1,734
Posted By dbashyam
Hi, My box is aix and the grep does not support...
Hi, My box is aix and the grep does not support -o option. Any other suggestions? ofcourse I can think about awk but not sure how to get the word alone from the output
1,734
Posted By dbashyam
ok I will make that simple, I want to just...
ok I will make that simple,

I want to just grep the '12.5.0.2307' from a command output

############################################################################
CA IT Client Manager...
1,734
Posted By dbashyam
script to tell whether there exists directory or not
Hi,

I am writing a script as follows:


#!/bin/sh
set -x
for i in `cat a`; do
#sleep 3
print $i >> server.txt
sleep 5
if test -d `vtask $i "' ls -lrt /opt/log/ '" ` ;
then
print $i >>...
2,073
Posted By dbashyam
Hi Methyl, Thanks for your excellent code....
Hi Methyl,

Thanks for your excellent code. I was thinking I will get some startup with not sure how to start did not expect an full answer.

Thanks again

:b:

---------- Post updated at...
957
Posted By dbashyam
ignoring multiple patterns
Hi,

Using grep how to ignore multiple patterns

for example

# multiple
#installOption
#role
role
#ROLE

I want to ignore all that comes with # in a single command

If I use

...
2,073
Posted By dbashyam
Hi Thanks for your reply. The output...
Hi

Thanks for your reply.

The output should look like this:



Login ID Appl Func Title Code Appl Func Title Code Description
admin ImpactUser Allow users to...
2,073
Posted By dbashyam
Shell Script to ignore # and take corresponding user and group
Hi,

I have a following file:


role.IMPACT_USER.user=admin
role.IMPACT_USER.user=dd12345
role.IMPACT_USER.user=ss76767
#role.IMPACT_USER.user=root
#role.IMPACT_USER.group=System...
1,265
Posted By dbashyam
Hi, I tried to change Any ideas? ...
Hi,

I tried to change
Any ideas?

Thanks,
Dinesh
1,265
Posted By dbashyam
Closing the thread
Closing the thread
1,265
Posted By dbashyam
Script causing database corrupt
Hi,

Closing the thread
2,263
Posted By dbashyam
command to grep the variable from file
Hi,

I am looking for the following:

1. A command to 'grep' the variable from a file
2. And check whether the entered variable is empty in that file

I have a file as given below:
...
1,439
Posted By dbashyam
Hi, Actually I want to have the words...
Hi,

Actually I want to have the words before and after the word "cells"

Ofcourse it should include "/"

Thanks
Dinesh
1,439
Posted By dbashyam
Words after / symbol
Hi,

I have the following directory:

/home/dragon/websphere/cells/profile/imp/001/

I want to put this in a shell script and get the values before and after cells by removing the '/'
...
4,981
Posted By dbashyam
Hi I tried to modify and run the code but...
Hi

I tried to modify and run the code but it does not seem to work. The backspace works only if I press the ctrl+H key only. It does not recognize when I press the 'backspace' key.

Just...
4,981
Posted By dbashyam
Hi, Thanks for all the replies. I...
Hi,

Thanks for all the replies.

I will try to work on it.

Thanks
Dinesh

---------- Post updated at 10:19 AM ---------- Previous update was at 02:04 AM ----------

Hi

I am able...
4,981
Posted By dbashyam
Hi All, Thanks for your replies. I...
Hi All,

Thanks for your replies.

I tried this on AIX, Solaris yes this works fine.

But on RHEL this does not work it outputs as I shown in my first post.

Any idea what should I do in...
Showing results 1 to 25 of 47

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