Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: sv0081493
2,478
Posted By sv0081493
Many Thanks it worked but i want to understand...
Many Thanks it worked but i want to understand how it is working.
Could you please explain
2,478
Posted By sv0081493
output on linux Filesystem ...
output on linux


Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rootvg-root
4.0G 627M 3.2G 17% /
tmpfs 7.9G 624M 7.3G 8%...
2,478
Posted By sv0081493
output of df -h Filesystem ...
output of df -h



Filesystem size used avail capacity Mounted on
/dev/vx/dsk/rootvol 4.3G 3.6G 684M 85% /
/proc 0K 0K 0K 0% /proc...
2,478
Posted By sv0081493
Mountpoint monitoring script
Hi,

I am new to shell scripting. I prepared a very simple script to monitor mount points but not geting desired output.


df -h|awk -F' ' '{ if ($5 >= 80) print "CRITICAL\n" $NF " mount point...
1,508
Posted By sv0081493
Change user while creating spool file
Hi,

I have a script which generate a HTML file from a unix user.
Script spool the data extracted from DB using sqlplus.

Problem is html file which gets generated is automatically...
1,312
Posted By sv0081493
I am trying but not able to make one with awk. ...
I am trying but not able to make one with awk.
Basically I want to exclude the data inside quotes "" in my output.
1,312
Posted By sv0081493
Thanks for your prompt help. Much Appreciated ...
Thanks for your prompt help. Much Appreciated

It worked with below script.


awk -F, '{ print $1,$2,$(NF-1),$NF}' OFS=, file


but I have a concern. I dont think this will work if data...
1,312
Posted By sv0081493
Need script to generate file.
Hi
I have a file "test" with data as below


1,APRIL,NEW,"New market,delhi,pune,India",RECENT, 254664
2,MARCH,OLD,"New Area,Mumbai,UP,India",CURRENT, 152483


So I want a script which...
1,013
Posted By sv0081493
Not available in my server. below is server...
Not available in my server. below is server details

SunOS xxxxxxxx 5.9 Generic_122300-31 sun4u sparc SUNW,Sun-Fire-880
1,013
Posted By sv0081493
great thanks..one more question Why gsub didnt...
great thanks..one more question
Why gsub didnt work with awk.
1,013
Posted By sv0081493
Excellent mate it worked.Thanks Could you...
Excellent mate it worked.Thanks
Could you please explain how its works and what is gsub
1,013
Posted By sv0081493
Script to Serach pattern and give number of occurrences
Hi,

I want a script which search for a pattern "good" in a huge file and provide me number of occurences of such pattern in a file.

lets say i have a file test.txt contents as below


good...
1,467
Posted By sv0081493
Thanks guys for your quick help Now script is...
Thanks guys for your quick help Now script is working fine and as expected.
finally My script looks like as below and executed.

for i in slpd puma sfmdb
do
echo "******\t$i\t*******"
echo...
1,467
Posted By sv0081493
Hey Thanks for your reply unfortunately no...
Hey Thanks for your reply

unfortunately no luck with this as well

ksh[5]: [slpd=puma]: not found
1,467
Posted By sv0081493
Hi I tried using below. but again getting error....
Hi I tried using below. but again getting error. Also use double quotes in sed

if [ "$i" = "puma" ] ; then


ksh[5]: {slpd: not found
1,467
Posted By sv0081493
No doing with below also not working if [ "$i"...
No doing with below also not working
if [ "$i" == "puma" ]; then

---------- Post updated at 06:50 AM ---------- Previous update was at 06:45 AM ----------

Error I am getting as below...
1,467
Posted By sv0081493
Script not working as expected
Hi,

I have prepared a script and trying to execute it but not getting expected output. Could you please help and advise what is going wrong.
"If else" part in below script is not working...
1,517
Posted By sv0081493
All, Thanks for your answers I did uname -a...
All,

Thanks for your answers I did uname -a below is the output

Linux XXXXXXXX 2.6.18-238.el5 #1 SMP Tue Jan 4 15:41:11 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

Could you please advise now...
1,517
Posted By sv0081493
Adding UNIX user to a group
Hi,

I am new to unix. I am facing access permission issue

I want to access path
/app/compress from a user "test" but getting permission denied error

This path exist in "Main" user
So...
5,854
Posted By sv0081493
Many thanks for your prompt response. I did...
Many thanks for your prompt response.
I did check on my system as per your suggestion unfortunately could not find /etc/rsyslog.conf file anywhere.
Also could you please suggest how we can turn on...
1,467
Posted By sv0081493
FTP user getting locked out automatically
I need help. I have a ftp user which is used by other system to transfer file to my system.
But somehow my ftp user gets locked out due to invalid failed logins by some source system and causing...
5,854
Posted By sv0081493
OS version Linux rdl01061app01...
OS version

Linux rdl01061app01 2.6.18-238.el5 #1 SMP Tue Jan 4 15:41:11 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
5,854
Posted By sv0081493
FTP user getting locked out automatically
I need help. I have a ftp user which is used by other system to transfer file to my system.
But somehow my ftp user gets locked out due to invalid failed logins by some source system and causing...
1,435
Posted By sv0081493
I will try this code and get back to you....
I will try this code and get back to you. Meanwhile could you please help me to understand below i didnt get it.

You may also want to redirect stderr to test_feed.log:

---------- Post updated...
1,435
Posted By sv0081493
As suggested, my script should look like this can...
As suggested, my script should look like this can you please confirm


ORACLE_HOME=/test/orabase/product/9.2.0
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export PATH
echo $ORACLE_HOME...
Showing results 1 to 25 of 58

 

Featured Tech Videos

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