Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: thillai_selvan
14,228
Posted By thillai_selvan
how to create empty wav file
Dear All,
Kindly explain me a command in unix to create a empty wav file with example.

Thanks in Advance!
4,262
Posted By thillai_selvan
It was just waiting.
It was just waiting.
4,262
Posted By thillai_selvan
arecord not interrupted after specified duration
I have used the arecord command like this
arecord -d 1 test.wav
It is keep on waiting. I need to manually interrupt it by ctrl-c. Why it is not interrupting after one second?
The arecord...
1,207
Posted By thillai_selvan
issue in mail command
I have used the mail command from the command line for sending mail from one machine to anther machine.

Example:

mail -s "Test" thillaselvan@xxx.co.in
Testing

But the mail is not getting...
Forum: UNIX and Linux Applications 07-11-2011
921
Posted By thillai_selvan
File Bowsing
Dear All,
When I am trying to browse files, or want to save files in a particular folde, it is showing all the hidden files in the directories. How can I restrict to hide the hidden files.
Kindly...
Forum: Programming 01-31-2011
1,050
Posted By thillai_selvan
how to add user defined tag in a mp3 file?
Hai all,
Can anyone explain me about how to add an user defined tag in an mp3 file using MP3::Tag module in perl?
1,158
Posted By thillai_selvan
I am using vim editor. FYI I want to achieve...
I am using vim editor.
FYI I want to achieve through a program.
If it is written in Perl I will be more happy :)
1,158
Posted By thillai_selvan
Parsing the Ruby File
Hai any one pls guide me...
We can extract the line number of the sub routine/function/method in a Ruby file using the ctags command.

But I want to know the line number in which the sub routine...
3,517
Posted By thillai_selvan
This is unix/Linux OS related forum.
This is unix/Linux OS related forum.
1,460
Posted By thillai_selvan
sed 's/[ ]\{3\}/\n/g' input_file I have...
sed 's/[ ]\{3\}/\n/g' input_file


I have the input file with the following contents

7.96634E-07 1.0000 0.00000E+00 0.0000 0.00000E+00 0.0000 1.59327E-06 0.7071
2.23058E-05 0.1890 ...
1,485
Posted By thillai_selvan
In your code you are trying to print /var/log. ...
In your code you are trying to print /var/log.
But in your first post you didn't escape the slash properly.
That is the question from Mr.devtakh
5,058
Posted By thillai_selvan
Use the following code while read line do ...
Use the following code

while read line
do
sed '/.*,[A-Za-z]/d' <<< $line | sed '/^End of File/d' | sed '/.*,0\.00/d'
done < input > output


Now the output file will contain only...
1,688
Posted By thillai_selvan
Use the following code open FH,"<...
Use the following code

open FH,"< Refdoc.txt" or die "Can't open file : $!\n";
my @array = <FH>;

for (my $i = 0; $i <= $#array; $i++)
{

$var{$i} = $array[$i];
}

foreach $key...
1,552
Posted By thillai_selvan
Ooops sorry I was editing my answers there. Now...
Ooops sorry I was editing my answers there. Now check it.
1,552
Posted By thillai_selvan
Use like this. file=${title}:`date` ...
Use like this.

file=${title}:`date`

echo $file
1,552
Posted By thillai_selvan
Do you want to put the output of the date command...
Do you want to put the output of the date command in variable?
Forum: UNIX and Linux Applications 04-21-2010
2,221
Posted By thillai_selvan
Use the following command. ls -l |...
Use the following command.



ls -l | grep "^-" | wc -l



It will give the number of files in the current directory.

If you want to know the number of files in a specific directory , then...
Forum: UNIX and Linux Applications 04-21-2010
2,221
Posted By thillai_selvan
From your output I think that it is not having...
From your output I think that it is not having the total line.
So do you want like this?

ls -l | sed '1d'
Forum: UNIX and Linux Applications 04-21-2010
2,221
Posted By thillai_selvan
What data you want to count?
What data you want to count?
Forum: Programming 04-17-2010
15,488
Posted By thillai_selvan
You can use the \e with the different values for...
You can use the \e with the different values for making the colors.



printf("\e[35m["); //This will show a maroon/pink like color



Like wise you can use different numbers for showing...
Forum: Programming 04-13-2010
1,300
Posted By thillai_selvan
Try this sed -ir '/[3|6] [0]/d' file ...
Try this

sed -ir '/[3|6] [0]/d' file


Now the file will not contain the lines "3 0" and "6 0"
1,969
Posted By thillai_selvan
Hai here its a Perl solution. use strict; ...
Hai here its a Perl solution.

use strict;
use warnings;

#opening the file for reading
open FH,"<data_input" or die "Can't open file : $!\n";
my @line;
while ( <FH> )
{
if (...
23,697
Posted By thillai_selvan
Can you give some sample input data and your...
Can you give some sample input data and your expected sample results?
7,168
Posted By thillai_selvan
Have you tried amitranjansahu's solution? seq...
Have you tried amitranjansahu's solution?
seq will be available under GNU.
7,168
Posted By thillai_selvan
This will not work. Error: seq: invalid...
This will not work.
Error:
seq: invalid floating point argument: _OF_LOOPS
Try `seq --help' for more information.

You need to precede $ infront of NO_OF_LOOPS

It should be like

for i in...
Showing results 1 to 25 of 188

 

Featured Tech Videos

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