Domain shouldn't matter.
I'm going to make assumptions about your request.
a) you are authorized to connect as the intended user.
b) the rsh services are running on the target system and not disabled for security purposes.
c) you can already connect to the system, but want to do it...
I like the paste command for this.
paste -d, -s filename
so if
ca1245
fc6789
rd7452
dp0329
are in a file named my_items, then
paste -d, -s my_items
will produce:
ca1245,fc6789,rd7452,dp0329
It also works with standard input from the command line.
cat my_items | paste -d, -s -
also...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.