Search Results

Search: Posts Made By: dddkiran
4,541
Posted By dddkiran
awk '/InternetProtocol/ {print; getline;...
awk '/InternetProtocol/ {print; getline; gsub($0,"<IP>")}{print}' <filename>
9,813
Posted By dddkiran
y dont you try 'sar -W'
y dont you try 'sar -W'
1,608
Posted By dddkiran
i could not identify any IO related stats in that...
i could not identify any IO related stats in that file.

proc(5) - Linux manual page (http://www.kernel.org/doc/man-pages/online/pages/man5/proc.5.html)
1,608
Posted By dddkiran
iostats for each process
Hi! I need iostats of each process on my linux machines. I can not use tools like iotop,....Please let me know if there is any way to get those stats.

Regards,
Kiran
1,563
Posted By dddkiran
perl -e -pi s/456/'$var'/g infile
perl -e -pi s/456/'$var'/g infile
26,705
Posted By dddkiran
no luck :(
no luck :(
26,705
Posted By dddkiran
extract .exe file
guys!

any clue how to extract .exe file in linux?

Regards,
Kiran
10,151
Posted By dddkiran
@scottn!! you are correct...it is showing in path...
@scottn!! you are correct...it is showing in path of 10.1.1.1, i escaped the $ and it is now showing correct path::
10.1.1.1:::
-bash-3.00$ ssh 10.1.1.2 "echo \$PATH"
Password:
/usr/bin...
10,151
Posted By dddkiran
ssh connection from remote machine in solaris
Hi!

I have two solaris 10 machines(say 10.1.1.1,10.1.1.2). i have installed rsync on 10.1.1.2,

10.1.1.1:::
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
-bash-3.00$ ssh...
6,063
Posted By dddkiran
the issue with .bash_history, 1) improper exit...
the issue with .bash_history,
1) improper exit from shell will not log command history in .bash_history file.
2) .bash_history file will be updated only after the user exits from the shell, if...
6,063
Posted By dddkiran
thanks guys....it probably fulfill my...
thanks guys....it probably fulfill my requirement....

just to learn out of curiosity...what happens when i execute a command on shell prompt...will it log the command execution in any files??
...
6,063
Posted By dddkiran
command execution alert
hi Guys!

My requirement is... I need to get notified if somebody executes a specific commands...like kill or httpd stop.... something like that....

can somebody help me out...

Regards,
kiran
2,481
Posted By dddkiran
cut -d " " -f2 <filename>|grep 92
cut -d " " -f2 <filename>|grep 92
7,737
Posted By dddkiran
find . -type f -mtime -1 | awk '{print "cp "$0"...
find . -type f -mtime -1 | awk '{print "cp "$0" "$0"_dummy"}'|sh

hope this may help, just customize it as per your requirement....:b:
1,612
Posted By dddkiran
attachement through mail command
Can't attach text files to 'mail' command. I dont have mutt or mailx to use on my server. so i have to use mail command

any help would be great.

Regards,
Kiran
1,860
Posted By dddkiran
add entry in $HOME/.ssh/known_hosts file
add entry in $HOME/.ssh/known_hosts file
1,492
Posted By dddkiran
perl - pi -e s/text/human/g text.txt
perl - pi -e s/text/human/g text.txt
4,917
Posted By dddkiran
awk '$4<=2005{print $0}' <filename>
awk '$4<=2005{print $0}' <filename>
8,126
Posted By dddkiran
split -l 4 sample.txt <prefix>
split -l 4 sample.txt <prefix>
10,274
Posted By dddkiran
grep -e...
grep -e '^[1-9][0-9]\.[1-9][0-9]\.[1-9][0-9][]0-9]\.[1-9][0-9][]0-9]' file
2,351
Posted By dddkiran
difference in date
Hi All!

I would like to know the time difference between two dates which are in same format...

$ date -r abc
Thu Oct 29 09:40:37 EDT 2009
$ date
Fri Oct 30 02:07:03 EDT 2009

i would like...
4,419
Posted By dddkiran
grep Total <Filename> | awk '{print $2}' >...
grep Total <Filename> | awk '{print $2}' > Output
10,535
Posted By dddkiran
why don't you use ssh, command will be something...
why don't you use ssh, command will be something like below:

ssh <IP> "nohup perl myscript.pl $* "

it will come out from that session once the script is finished.

Regards,
Kiran
2,455
Posted By dddkiran
wats the issue?? any error??
wats the issue?? any error??
1,553
Posted By dddkiran
awk '/far/,/'$veryfar'/' a.txt enclose the...
awk '/far/,/'$veryfar'/' a.txt

enclose the variable in single quotes.

Regards,
Kiran
Showing results 1 to 25 of 41

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