Search Results

Search: Posts Made By: stinkefisch
6,969
Posted By stinkefisch
sed add match +N to next line
Hi all,


I got some data in this format


A: a b c dA: e f g hA: i j k lA: m n o p


Could someone please help me out to get ti in this format ?


A: a b c d
A: e f g h
A: i j k l
A:...
Forum: Red Hat 02-17-2020
5,073
Posted By stinkefisch
Hi, I can reach port 6000 via my DNS over...
Hi,


I can reach port 6000 via my DNS over internet if the client is not connected to VPN.


I can't reach port 6000 via my DNS over internet if the client is connected to VPN.
Forum: Red Hat 02-16-2020
5,073
Posted By stinkefisch
Port Forward to VPN client.
Hi all,

I can't port forward from WAN to VPN Client. VPN Client Ubuntu 18 192.168.0.16 Port 6000

VPN Gateway for LAN clients Centos 192.168.0.12
Router 192.168.0.1

I can forward to the VPN...
3,306
Posted By stinkefisch
DUHHHH!!!!! Thanks for the prompt reply...
DUHHHH!!!!!


Thanks for the prompt reply and help ;)


All good
3,306
Posted By stinkefisch
Spaces in double quotes in variable ?
Hi got this issue and was wondering if someone could please help out ?



var='." "'
echo $var
." "


I 'll get ." " and not ." with 10 spaces in between "


Thanks
Forum: Red Hat 10-26-2016
1,065
Posted By stinkefisch
Update puppet class from Client
Hi all,

This is more a satellite 6 question

Is it possible to add / assign a puppet client to a class on the master from the client ? This is for automation and I can't get it to work.

On...
1,516
Posted By stinkefisch
Many thanks works now ;)
Many thanks works now ;)
1,516
Posted By stinkefisch
I can't figure it out ? ---------- Post...
I can't figure it out ?

---------- Post updated at 05:17 AM ---------- Previous update was at 05:14 AM ----------



I need test.test\.test * as output
1,516
Posted By stinkefisch
sed add special character
Hi all

I got test.test.test and need

test.test\.test *

I need the backslash before the last dot in the line

I tried

echo test.test.test | sed 's/\./\\./g'

but it gives me
...
1,692
Posted By stinkefisch
Superb works awesome thanks ever so much
Superb works awesome thanks ever so much
1,692
Posted By stinkefisch
Nearly grep -o "D 8888 4[43] [^ ]*" txt ...
Nearly

grep -o "D 8888 4[43] [^ ]*" txt

D 8888 43 BBBBBBBBBBBBBB
D 8888 44 AAAAA4FFBBBBBB
D 8888 44
D 8888 43 EEEEEEEEEEEEEE
D 8888 43

2 are missing
1,692
Posted By stinkefisch
Extract pattern from text
Hi all,

I got a txt here and I need to extract all D 8888 44 and D 8888 43 + next field

=",g("en")];f._sn&&(f._sn= "og."+f._sn);for(var n in...
1,161
Posted By stinkefisch
Thanks for the reply. I think I should have...
Thanks for the reply.

I think I should have asked different.
I meant minimum 5 or 6 but not more than 6.

awk solution is great

Thanks

---------- Post updated at 12:23 PM ----------...
1,161
Posted By stinkefisch
Grep a word that contains minimum 5 or 6 same characters
Hi,

I am looking for a solution to grep for minimum 5 or 6 characters in a file, otherwise ignore.

Example

1121221222
2212121211
1221122122
2121222222
2222112222
1211221121

So it...
5,242
Posted By stinkefisch
Thank you very much all worked great ;)
Thank you very much all worked great ;)
5,242
Posted By stinkefisch
Replace nth to nth character?
Hi

I got the following problem and I wonder if some could please help me out?
I'd like to replace character 8 - 16 , 16 - 24

cat file
...
5,192
Posted By stinkefisch
superb thanks
superb thanks
5,192
Posted By stinkefisch
Yes but adds the the string infront sed -r...
Yes but adds the the string infront

sed -r 's/^(........)./\1AAAAAAAA/' test

result

gtwrhtrdAAAAAAAA1111111rjytwyejtyjejetjyetgeaEHT
5,192
Posted By stinkefisch
sed replace nth characters with string
Hi,

I hope you can help me out please?

I need to replace from character 8-16 with AAAAAAAA and the rest should stay the same after character 16

gtwrhtrd11111111rjytwyejtyjejetjyetgeaEHT...
7,428
Posted By stinkefisch
Thanks ever so much
Thanks ever so much
7,428
Posted By stinkefisch
Loop through file and replace with sed
Hello all,

I need some help please.

I got file1 with names.

foo bar
foo bar
foo bar
foo bar
foo bar

and I got file2 with some text
some text
some text
#KEYWORD

some text
some...
24,063
Posted By stinkefisch
perfect thanks
perfect thanks
24,063
Posted By stinkefisch
it never is
it never is
24,063
Posted By stinkefisch
print next word after found pattern
Hi all,

I'd like to print the next word after a found pattern.

example text:

word1 word2 word3 word4 pattern word5

pattern word1 word2 word3 word4

word1 word2 pattern word4

basiclly...
3,657
Posted By stinkefisch
Sorted mkisofs -o output.iso -b...
Sorted


mkisofs -o output.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table root-dir

did the magic
Showing results 1 to 25 of 62

 

Featured Tech Videos

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