Search Results

Search: Posts Made By: karthikeayan
1,943
Posted By karthikeayan
thanks
great vikram.. thanks..
1,943
Posted By karthikeayan
Doubt
hi Vikram,

thanks for the quick reply. I have one question..
if $2 has the value more than 3, like 4.0... then how can we ignore that line?
1,943
Posted By karthikeayan
Pleas explain
Could you please explain the above?
3,857
Posted By karthikeayan
please explain
could you please explain the above statement?
3,857
Posted By karthikeayan
I just wrote something working... give comments...
I just wrote something working... give comments to improve myself!!!

#!/usr/bin/bash

df -k | grep -v -i "use" > /tmp/disk_space$$
awk '{
if (NF < 2)
{
print...
3,857
Posted By karthikeayan
need some more ideas
thanks for the help,
this i accomplished, but when the script triggers a mail, i want to include which is the filesystem crossed this space???

any ideas??

thanks in advance
3,857
Posted By karthikeayan
Check disk space
I am trying a script which will alert if disk space crosses some threshold, i googled it and got some scripts already, but they are not working with my server.

The problem is, my filesystem names...
1,597
Posted By karthikeayan
Need lot of examples
Hi, I need a word doc or pdf which contains lots of Shell Programming samples... This is for my open book examination, thanks in advance..
6,358
Posted By karthikeayan
oopss.. sry, but i tried in my server, bash...
oopss.. sry, but i tried in my server, bash shell, it is working...

user@server:/tmp/pce> cat config.xml
date=""
date="20110607"
date=""
user@server:/tmp/pce> sed...
1,228
Posted By karthikeayan
a="ind ia" b="india" here, variabe a...
a="ind ia"
b="india"

here, variabe a contains space, but b dont...
like this, i want to check that the variable contains i or not...
1,228
Posted By karthikeayan
Verify the variable has "space" or not?
How to check if a variable contains space in it??? or any other character??? using if condition..
6,358
Posted By karthikeayan
sed 's/date=\".*\"/date=\"20120711\"/g'...
sed 's/date=\".*\"/date=\"20120711\"/g' config.xml
Showing results 1 to 12 of 12

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