Search Results

Search: Posts Made By: DallasT
2,185
Posted By DallasT
How to copy file with timestamp in file name?
Hi Friends

I was wondering how should I copy a file as script where it take a file from location A and copies to location B and puts timestamp in location B within file name?

/home/myfile.dat...
1,988
Posted By DallasT
Thank you for replying. here is the type of...
Thank you for replying.

here is the type of grep i used to search two items in a file.

My question is, is there a way to add 'color' to see both search items in output?

zegrep abcdefg...
1,988
Posted By DallasT
How to add 'color' in a grep?
Hello friends - I use various grep commands to search for data in a file. However, to add 'color' seems to not work.

Is there a way to add color to two items that i search? so that i can easily...
603
Posted By DallasT
Worked beautifully my friend. thank you!
Worked beautifully my friend.

thank you!
603
Posted By DallasT
Format Question
Hello friends

i have a file that outputs like this:


lineA
lineB
lineC


I would like it to format it like this as output:


'lineA','lineB','lineC'


Can you help?

Thank you
1,872
Posted By DallasT
Thank you everyone. Thanks Yoda, may the...
Thank you everyone.

Thanks Yoda, may the force be with you, I have one question:

What if i want to search with same parameters as before but

Time should be between 15:25:20 and 16:33:45
1,872
Posted By DallasT
Thank you. I am not attempting to compare...
Thank you.

I am not attempting to compare time.

However, the file contains many messages as above example, each have a time field with a different time.

RudiC: the file will contain a...
1,872
Posted By DallasT
Grep with time constraints
Hello Friends -

I am trying to grep certain messages that have a time slot like this:



MyRate=33FC|SystemDEF=445DE|Calc=33W2|Time=15:50:24



I am trying to grep everything after...
2,142
Posted By DallasT
This is what I am trying to accomplish ...
This is what I am trying to accomplish

File1:
123, zxc, 1123, wed

File2:
ggf, 123, 329, 1123

I run a diff that gives me this:


123, 1123
or
1123, 123


Thanks

---------- Post...
2,142
Posted By DallasT
How to diff to get only matching results?
Hello friends,

I have two files that contain data like this:

file1:

abc, xyx, 123, 998, 324, 320, rex

file 2:

zoo, rex, too, 332, 004, 047, abc, 123

As you can see both files...
2,230
Posted By DallasT
Thank you friend
Thank you friend
2,230
Posted By DallasT
How to grep for first entry in a file?
Hello friends, I have a question.

Sometimes I have to search for an entry in a file that is repeated thousands of times. Can you tell me how to search so that i get limited results?

For...
3,550
Posted By DallasT
Thank you above replies.
Thank you above replies.
3,550
Posted By DallasT
Read my response again: With that...
Read my response again:



With that being said, to answer you: Yes this is how I tried (see below).

Now, since I couldnt properly interpret the 'man output' that was pasted here, an...
3,550
Posted By DallasT
Thanks for posting MAN output. Can anyone...
Thanks for posting MAN output.

Can anyone provide an example from my above question, it would be best way to understand.

Thanks
3,550
Posted By DallasT
How to add '--color' with pipes?
Hi guys - I was wondering if there is a way to add 'color' to a grep I do like this below:



fgrep -i "XYZ-1124354-P" mylog.log | tr "\001" " " | sed G
1,310
Posted By DallasT
thanks!
thanks!
1,310
Posted By DallasT
comes as error: awk: FNR==NR...
comes as error:



awk: FNR==NR {fb[$1];next} !($1 in fb)}
awk: ^ syntax error
1,310
Posted By DallasT
Diff in UNIX
Hi guys - I have two files that have random number values and I want to see what is available in file A and not in file B

Here is what each file looks like:


File A:

1
45
11
788
556...
1,000
Posted By DallasT
Actually Aia, in the first code you gave me is...
Actually Aia, in the first code you gave me is showing everything to the right of the "="

How to produce the left of "="

For example the output should be like this:

1
11324
334
10
1,000
Posted By DallasT
Thank you. Also, how should I get the...
Thank you.

Also, how should I get the entire value.

For example an output like this:

1=ADBN
11324=OIN24
334=34RD
10=10.11
1,000
Posted By DallasT
Search and sort help
Hi guys - I have a file that has messages like this below.


Message 1:
1=ADBN 11324=OIN24 334=34RD 10=10.11

Message 2:
12=345 199=WWLO 99=WWED



Both messeges arent related to each...
10,895
Posted By DallasT
Like this (if possible), thanks. Name...
Like this (if possible), thanks.


Name Quantity Type Status
ABCD 34 456 2324
XYX 24 21X T
10,895
Posted By DallasT
How to extract UNIX output to excel CSV file?
Hi guys - I have a file and output like this below:


File: myfile.dat
File has content like this: ABCD, 34, 456, 2324

I would like excel to have this:

Name (ABCD) Quantity (34), Type...
2,682
Posted By DallasT
I cant :( ---------- Post updated at 11:13...
I cant :(

---------- Post updated at 11:13 AM ---------- Previous update was at 10:05 AM ----------

Guys - I am now able to ssh without password. However I get this error, do you know anything...
Showing results 1 to 25 of 164

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