Search Results

Search: Posts Made By: sravani25
53
Posted By sravani25
Mutiple filesearch technique in Linux/UNIX
Hi Team,


I am searching for multiple files in total linux server using shell script, But find command generally searches for the entire server for the files.
which is taking more time for...
111
Posted By sravani25
How to ignore mutiple strings when using shell script?
Hi All,

I am trying to use below syntax to find ignore multiple locations while searching for a file.


find / -name "$serviceitem" ! -size 0 2>&1 |egrep -v...
86
Posted By sravani25
How to find whether Solaris installed on physical machine or on a VMware/KVM?
Hi All,
.
I am trying to find whether Solaris 11 installed on physical server or on VMware/KVM.


I tried uname -a but it's giving only whether i installed on X86 or sparc machine.


I tried...
120
Posted By sravani25
Thanks Chubler_XL...
Thanks Chubler_XL (https://www.unix.com/member_modal.php?u=302085178&modal=1)and Rudi C.


I am able to print the output now.


But when i use lowercase column names like name, version and...
120
Posted By sravani25
Shell script ouput conversion
Hi All,


I am trying to print all the packages info in solaris 11 using below script.


#!/usr/bin/env bash

pkginfo -l | egrep '(BASEDIR|NAME|VERSION)' | awk '{print}' > /tmp/cp1
...
78
Posted By sravani25
How to change the path location within the shell script?
Hi ALL,


I am trying to find the installed tomcat version and location of the server.xml file to get the tomcat port number.


Using below script to do that.


#!/usr/bin/env bash
...
213
Posted By sravani25
Hi rbatte1...
Hi rbatte1 (https://www.unix.com/member_modal.php?u=302025710&modal=1) and Rudi,


Thanks for the reply.

My intention is when ever I run the below command, if the output is successful then I...
213
Posted By sravani25
Hi Scrutinizer...
Hi Scrutinizer (https://www.unix.com/member_modal.php?u=302052697&modal=1),


Thanks for the reply.


if $abc executed successfully then only i want to print that output.
213
Posted By sravani25
Shell script to check a command executed sucessfully or not
Hi All,


I am trying to write a shell script to check if a command executed successfully or not in rhel 7 and finding the installed tomcat version.


I am using below script.


var4=$(find...
139
Posted By sravani25
Hi Rudi, i need to find exact/correct ...
Hi Rudi,


i need to find exact/correct port number from the process id.
139
Posted By sravani25
Getting correct port number from process id
Hi All,


i am trying to find the Jobss port number(either default port number or any other port number assigned) from the running process id.


But it's giving me multiple port numbers when...
148
Posted By sravani25
Printing df -h output in json format
Hi All,


i am trying to print the df -h ouput in json format. using below script.


#!/usr/bin/env bash

df -h > /tmp/sdf
nawk '{print " "$1" "$2" "$3" "$4" "$5" "$6" "}' /tmp/sdf >...
136
Posted By sravani25
Can you please explain the script which you...
Can you please explain the script which you wrote.


Thanks
136
Posted By sravani25
Filtering netstat command output
Hi All,


I am trying to collect the listen ports info from netstat command in centos 7

From that info i am trying to collect all the foreign address IP for those ports.


I am using below...
261
Posted By sravani25
How to find weblogic version in Linux?
Hi All,


I am able to find the weblogic version in Centos 7 by using below command
but i am not sure what is java -cp is doing in below command.


Can someone please help. unable to find...
232
Posted By sravani25
Is it hard to find the NIC card speed info as...
Is it hard to find the NIC card speed info as well on aws ec2 instance ?.
92
Posted By sravani25
the current post is different to...
the current post is different to https://www.unix.com/unix-for-beginn...-new-post.html (https://www.unix.com/unix-for-beginners-questions-and-answers/283202-ethtool-command-not-working-new-post.html).
232
Posted By sravani25
Hi, I am running my centos 5 in AWS. ...
Hi,


I am running my centos 5 in AWS.



# ethtool -i eth0
driver: netfront
version:
firmware-version:
bus-info: vif-0
92
Posted By sravani25
# dmidecode # dmidecode 2.11 # No SMBIOS nor...
# dmidecode
# dmidecode 2.11
# No SMBIOS nor DMI entry point found, sorry.




Nothing is displaying for dmidecode command in centos 5.
232
Posted By sravani25
Hi Neo, ethtool is not giving full ouput...
Hi Neo,


ethtool is not giving full ouput as i expected in centos5.


i already checked ifconfig ouput. Below is the ifconfig -a output on my server.


# ifconfig -a
eth0 Link...
92
Posted By sravani25
Unable to fetch BIOS configuration details
Hi All,


unable to fetch the bios configuration information and service provider information in centos 5 using dmidecode command.




ServiceProvider=`dmidecode -s system-product-name |awk...
232
Posted By sravani25
Ethtool command not working
Hi All,


I am trying to find my NIC card speed in centos 5. But i am unable to get the info using ethtool command.




# ethtool eth0
Settings for eth0:
Link detected: yes


...
115
Posted By sravani25
Unable to replace 0.0.0.0 in a file
Hi All,


i am trying to replace 0.0.0.0 in below file. but i am not able to replace it.


File :



Proto Recv-Q Send-Q Local Address Foreign Address State ...
Showing results 1 to 23 of 23

 

Featured Tech Videos

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