Search Results

Search: Posts Made By: magnus29
3,593
Posted By magnus29
Help on port forwarding please..
Hi experts,

We have windows machine ( A ) in one network & 2 Linux Servers ( B & C ) in another network. There is a firewall between these 2 networks and SSH (TCP/22) & HTTPS (TCP/443) are allowed...
Forum: Red Hat 02-23-2016
4,795
Posted By magnus29
Is it possible to install RHEL 7 on top of RHEL 6?
Hi

We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base...
2,016
Posted By magnus29
Thanks both. That's what exactly I need at...
Thanks both.

That's what exactly I need at the moment - to list the users without MD5. This is on RHEL 6.7.

However the plan is to change default encryption algorithm to SHA512 and force users...
2,016
Posted By magnus29
How to list users without MD5 encrypted password?
Hi,

As a security measure, we need to force all the users to use MD5 encryped passwords. For that we need to list users whose encrypted password is not MD5. I understand all MD5 encrypted...
1,456
Posted By magnus29
Need help on rsync
Hi experts,

We need copy 5TB data from one server to another (over a 10Gbps link). We plan to use rsync -av remote:/<path /local on destination server but there're few special requirements like:
...
Forum: Linux 10-21-2015
4,425
Posted By magnus29
Thanks, that seems to have solved my prob but i...
Thanks, that seems to have solved my prob but i need more tests to do to ensure. Is there any tool or software or anything that can help me setup iptables easily? somehow I find iptables very...
Forum: Linux 10-21-2015
4,425
Posted By magnus29
How to block only one IP using iptables?
Hi friends,

I have a linux machine without iptables running and we have a new requirement to block a remote machine ( IP = 172.1.1.1 ) completely accessing our linux machine in both directions. So...
14,136
Posted By magnus29
Thanks zaxxon for the reply Unfortunately it did...
Thanks zaxxon for the reply Unfortunately it did not work and resulted a file with single line (vi shows 1 line) and wc -l shows 0.

Thanks jgt for your advice on pcl2txt but I couldn't get it for...
Forum: Red Hat 10-08-2015
11,704
Posted By magnus29
Excellent! You are absolutely right. I used this...
Excellent! You are absolutely right. I used this source file as PCL and able to generate PDF without any special/junk characters using gpcl6 from ghostpcl 9.18. But there's some small issue of...
14,136
Posted By magnus29
How to remove escape sequences from a text file?
Hello friends,

Could anyone please advise on how to remove escape sequences from a text file?

$ file input.txt
input.txt: ASCII English text, with escape sequences

I'm able to see...
Forum: Red Hat 10-06-2015
11,704
Posted By magnus29
How to convert TXT to PDF in RHEL 6?
Hello friends,

I need to convert ASCII text to PDF on RHEL 6 so I did the below and could generate PDF but it has lot of junk/special characters.

yum install enscript ghostscript

enscript -p...
1,211
Posted By magnus29
How to extract fields containing specific strings?
Hello

I have a log file with thousands of lines like below

Sep 21 13:02:52 lnxtst01 kernel: New TCP in: IN=eth0 OUT= MAC=00:1a:4b:50:b7:32:00:08:e3:ff:fc:04:08:00 SRC=10.184.46.4...
1,417
Posted By magnus29
List of servers that are NOT authorized for password-less SSH
Hello friends,

We have around 500 servers (HPUX, AIX and linux) and all of them need to be accessed from our management box (linux) via password-less ssh.

Out of 500 around 150 servers are...
1,257
Posted By magnus29
Thank you Akshay Hegde, First one works...
Thank you Akshay Hegde,

First one works great.

Second one always makes it to "b". As I said in my first post, we need it vice-versa. For ex. it should change to "w" if it already has "b" and it...
1,257
Posted By magnus29
Conditional replacement of columns in a text file
Hello scriping expert friends,

I have 2 requirements on replacing fields of text files:

I have lot of data with contents like below:

[FEN...
1,275
Posted By magnus29
Brilliant! Worked like charm!! Many thanks...
Brilliant! Worked like charm!!

Many thanks RudiC :)
1,275
Posted By magnus29
Compare fraction number and convert duration to seconds
Hi friends,

I have a file with contents below:

01.m4a 00:14:45.82, 01.mp4 00:03:46.05, -659.770000
05.m4a 00:27:43.51, 05.mp4 00:27:45.10, 1.590000
06.m4a 00:11:39.73, 06.mp4 00:11:44.60,...
Forum: Red Hat 12-17-2013
5,238
Posted By magnus29
How to access redhat Linux box graphically from windows box?
Hi

I have a linux box and need to access from windows graphically

# uname -a
Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux


What components...
Forum: Solaris 12-17-2013
9,481
Posted By magnus29
If still problem exists, run ssh -vv user@IP and...
If still problem exists, run ssh -vv user@IP and post the output here.
1,287
Posted By magnus29
Search for a value and replace other field in the same set
Hello friends,

I have huge file with many sets where each "set" has few lines and each set always begins with "Set" in Sq brackets as shown above.
# cat file1

[Set 1]
[Name "rnd"]
[Date...
1,282
Posted By magnus29
Digits with starting zero's in loops
Hi friends,

I have 2 requirements on numbers with starting zero's to make them having equal number of digits.

1. To setup a for loop for 1-100, it can be done by
for ((i=1;i<=100;i++))
do ...
1,276
Posted By magnus29
Appending 2 text files - Problem in windows
Hello,

I have text files to append and am able to do with cat.

cat file1 file2 >file3

and file3 works fine in UNIX (checked with vi and it looks fine) but when i open the same file in...
4,876
Posted By magnus29
Remove duplicates by keeping the order intact
Hello friends,

I have a file with duplicate lines. I could eliminate duplicate lines by running

sort <file> |uniq >uniq_file and it works fine BUT it changes the order of the entries as it we...
1,274
Posted By magnus29
Thanks RudiC for the reply. It works but...
Thanks RudiC for the reply.

It works but with some issues like it's checking just first digit. It should rather check with "dot" as well like "1." "2." .... "5.". Otherwise it considering 11 also...
7,958
Posted By magnus29
How to insert a word into a text file?
Hi,

I have a text file with one line having few words separated by space and I need to insert another word on "n"th column/field so that previous word should shift right (to n+1st column). how can...
Showing results 1 to 25 of 27

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