Search Results

Search: Posts Made By: Nila
4,857
Posted By Nila
1. I have removed the sender IP from blocker list...
1. I have removed the sender IP from blocker list by following the instructions which is mentioned here Blocklist Removal Center - The Spamhaus Project (http://www.spamhaus.org/lookup.lasso) But...
4,857
Posted By Nila
Email notification is not working in spacewalk
Hi,

I am using spacewalk tool ( Linux systems management solution ). I have configured probe notification and notification method in spacewalk.

But I am not getting the notification mail.
...
1,641
Posted By Nila
Hi, You need to match the space also. Try...
Hi,

You need to match the space also.
Try this

sed -r '/\s[0-9]{3,5}$/d' file.txt
184,825
Posted By Nila
only bash
only bash
1,292
Posted By Nila
We can achieve this by head and tail command...
We can achieve this by head and tail command also.

head -n 15 file | tail -n 6
11,467
Posted By Nila
You can also try this in perl. perl -e...
You can also try this in perl.

perl -e 'print " " x N';


Perl's x operator repeats a string a number of times(N).
Forum: Debian 02-01-2011
3,057
Posted By Nila
Dialog box in debconf file.
Hi all,

I am working with debconf file for packaging the projects. I have used the
". /usr/share/debconf/confmodule" file to do the packaging in debian standard. It worked fine. When...
1,505
Posted By Nila
Code stripper for bash script..
Dear all,
Is there any open source tool for stripping the comments to bash script without affecting the code part?

Please give me any reference to it..


Thanks in Advance...
2,464
Posted By Nila
Help with packaging tools.
Hai friends,

I have used the dpkg command to install the package.
This package is created my me. This has only one "C" file.

I checked my module status by...
3,656
Posted By Nila
Try this, while ($exp ne "n") { system...
Try this,


while ($exp ne "n") {
system "clear"; ..............
..............
}


Try to read string comparison in Perl.
URL : String Comparison Operators...
1,800
Posted By Nila
Try this, sed -re "/^$/d; s/[ ]{2,}/\n/g"...
Try this,


sed -re "/^$/d; s/[ ]{2,}/\n/g" test_file
1,800
Posted By Nila
Try this, sed -re "s/[ ]{2,}/\n/g"...
Try this,


sed -re "s/[ ]{2,}/\n/g" test_file
2,002
Posted By Nila
Try this, perl -nle "print...
Try this,


perl -nle "print if(/\/var\/log/)" /etc/syslog.conf
2,161
Posted By Nila
Try this, #!/bin/sh while read line ...
Try this,


#!/bin/sh
while read line
do
first=`echo $line | cut -d ',' -f 1`
sixth=`echo $line | cut -d '|' -f 6`
eleventh=`echo $line | cut -d '|' -f 11`
...
1,356
Posted By Nila
Try this, #!/bin/sh if [ $# -eq 0 ] ...
Try this,


#!/bin/sh
if [ $# -eq 0 ]
then
echo "Please Give positional parameters"
exit
else
for i in $*
do
man "$i"
done
fi
6,077
Posted By Nila
What you have tried for your requirement? ...
What you have tried for your requirement?

Give me your input files and output file with some sample data.
1,670
Posted By Nila
Try this, use strict; use warnings; ...
Try this,


use strict;
use warnings;
use Data::Dumper;


open FH1,"file" or die "Can't open the file $!";
open FH2,"file1" or die "Can't open the file $!";
open OUTPUT,"+>output_file" or...
1,670
Posted By Nila
I didn't understand the following statement in...
I didn't understand the following statement in your question.
The third column of file2 have a matching numbers of file 2.

my understanding is , Need to match the 3rd column of file2 with file1...
14,772
Posted By Nila
Try this, #!/bin/sh >new_file while...
Try this,


#!/bin/sh
>new_file
while read line; do
first_field=`echo ${line} | cut -d ' ' -f 1`
if [[ $first_field -ne 8 ]]
then
change_line=`echo...
5,208
Posted By Nila
You can't remove the post. I wrongly told that...
You can't remove the post. I wrongly told that one. Moderator will close the post.Don't worry.
5,208
Posted By Nila
Double post. You can remove one post. link :...
Double post. You can remove one post.

link : https://www.unix.com/os-x-apple/132578-need-help-writing-applescript-launch-specific-terminal-command.html#post302405787
1,707
Posted By Nila
Just I gave the code for handling the command...
Just I gave the code for handling the command line arguments in shell script. If you have the time value in separate variable, you can use your variable instead of "$1" and "$2" in my script.
1,707
Posted By Nila
Try this, #!/bin/sh time_start=`date...
Try this,


#!/bin/sh
time_start=`date +%s -d "$1"`
time_end=`date +%s -d "$2"`
diff_time=`expr $time_end - $time_start`
echo $diff_time;
2,287
Posted By Nila
Try this, head -1 file | cut -d "=" -f 3...
Try this,


head -1 file | cut -d "=" -f 3 | sed -e 's/"//'
8,758
Posted By Nila
Try this, zipgrep "pattern"...
Try this,


zipgrep "pattern" <zip_file>
Showing results 1 to 25 of 92

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