Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: dbashyam
386
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.
386
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...
11,639
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...
6,296
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
6,296
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...
6,296
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.
6,296
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...
6,296
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,335
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,335
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,335
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,335
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 >>...
1,727
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...
785
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

...
1,727
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...
1,727
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...
955
Posted By dbashyam
Hi, I tried to change Any ideas? ...
Hi,

I tried to change
Any ideas?

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

Closing the thread
1,870
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,170
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,170
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,154
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,154
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,154
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

 

Featured Tech Videos

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