Search Results

Search: Posts Made By: mccmjc
5,958
Posted By mccmjc
Thanks Scrutinizer, that's done the trick. ...
Thanks Scrutinizer, that's done the trick.

So why the difference? Do the two loops process the file differently?

Cheers,

Chris
5,958
Posted By mccmjc
Hi disedorgue, I still get the same when...
Hi disedorgue,

I still get the same when using that method:

[chris@x] while read HOST; do ssh $HOST; done <dbs_group
Pseudo-terminal will not be allocated because stdin is not a terminal....
5,958
Posted By mccmjc
Difference between WHILE and FOR loops
This might be a simple question, but I can't find the answer out there anywhere. I'm trying to write a loop to SSH to a server for me to then copy/paste some commands in. Once I'm done, I type 'exit'...
4,412
Posted By mccmjc
Thanks guys, it's amazing how many times this...
Thanks guys, it's amazing how many times this requirement has come up, and I've never been able to figure out how to approach the problem.

Appreciate the quick assistance from you all.

...
4,412
Posted By mccmjc
Bash formatting data into columns
Hi guys,

I'm trying to create a table of aggregated data using just bash commands. My data is in three columns, for example:


2014-01-01 testA 64
2014-01-01 testB 27
2014-02-01 testA...
Showing results 1 to 5 of 5

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