Displaying 5 results from an estimated 5 matches similar to: "for loop example"
2016 Jun 09
1
for loop example
> From: Indunil Jayasooriya <indunil75 at gmail.com>
> > >
> > > [root at centos67 loop]# cat file1
> > > firstname1
> > > firstname2
> > >
> > > [root at centos67 loop]# cat file2
> > > lastname1
> > > lastname2
> > >
> > > I need a OUTPUT like this
> > >
> > >
> > >
2016 Jun 04
3
for loop example
Hi list,
Can you look in to this?
[root at centos67 loop]# cat file1
firstname1
firstname2
[root at centos67 loop]# cat file2
lastname1
lastname2
I need a OUTPUT like this
*firstname1 lastname1firstname2 lastname2*
But I try the below command , i get below output. what is the real command
to get the above output
[root at centos67 loop]# for line1 in $(cat file1 ); do for line2 in $(cat
2016 Jun 09
0
for loop example
There's probably a better way using join, but this should do the trick:
paste <(cat file1 | tr "\n" ' ') <(cat file2 | tr "\n" " ")
On Tue, 07 Jun 2016 12:19:14 +0000
Diego <diegofull at gmail.com> wrote:
> Maybe this don't to be the best form to solve your problem, but worked,rs.
>
> #!/bin/bash
> #power by Diego Rodrigues
2016 Jun 07
0
for loop example
On 6/3/2016 10:41 PM, Indunil Jayasooriya wrote:
> I need a OUTPUT like this
>
>
> *firstname1 lastname1firstname2 lastname2*
An obvious solution is to use Perl. I suggest searching Stackoverflow
for a solution using that language.
While checking, I discovered the paste program does just what you want.
So try "man paste".
2008 Jun 11
1
Squid/ntlm_auth issues with two user accounts (all other accounts on the domain work).
Hi all,
I have just installed and configured a squid setup authenticating
against Active Directory using kerberos tickets and have achieved the
holy-grail of IT - Single Sign On!
The problem is that I have two users for whom is does not work.
The ntlm_auth logs show that for users that are properly authenticated
against squid we get the following (Usernames/Domains/Hosts have been
changed for