<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Bytes - answers</title>
		<link>http://bytes.com</link>
		<description>Linux, Unix and BSD operating systems (Open Source) - Get answers to questions about the open source operating systems, setup, installation, administration, configuration, drivers, internet, applications, file, Redhat, CentOS, FreeBSD, Ubuntu and more.</description>
		<language>en</language>
		<lastBuildDate>Fri, 20 Nov 2009 23:34:18 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://bytes.com/images/misc/rss.jpg</url>
			<title>Bytes - answers</title>
			<link>http://bytes.com</link>
		</image>
		<item>
			<title>Porting windows code to Linux - some tips?</title>
			<link>http://bytes.com/topic/unix/answers/877389-porting-windows-code-linux-some-tips</link>
			<pubDate>Fri, 20 Nov 2009 21:43:07 GMT</pubDate>
			<description>Lot of Windows code (dll) need to port to Linux, can somebody gives some clues, what to takecare mainly. 
 
not sure whether similar cals available...</description>
			<content:encoded><![CDATA[<div>Lot of Windows code (dll) need to port to Linux, can somebody gives some clues, what to takecare mainly.<br />
<br />
not sure whether similar cals available in Linux:<br />
1) LoadLibrary.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>tvnaidu</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/877389-porting-windows-code-linux-some-tips</guid>
		</item>
		<item>
			<title>In Unix How can I see Windows Screen</title>
			<link>http://bytes.com/topic/unix/answers/877118-unix-how-can-i-see-windows-screen</link>
			<pubDate>Mon, 16 Nov 2009 18:27:53 GMT</pubDate>
			<description>Hi friends, 
 
    If I am using UNIX,suppose if I need to see the Windows Screen,Is it is Possible,Which Command can be used for that. 
 
Pl help...</description>
			<content:encoded><![CDATA[<div>Hi friends,<br />
<br />
    If I am using UNIX,suppose if I need to see the Windows Screen,Is it is Possible,Which Command can be used for that.<br />
<br />
Pl help me,Thanks in Advance...</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>davidson1</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/877118-unix-how-can-i-see-windows-screen</guid>
		</item>
		<item>
			<title>How can I use power strip on/off button instead computer button to power on</title>
			<link>http://bytes.com/topic/unix/answers/877055-how-can-i-use-power-strip-off-button-instead-computer-button-power</link>
			<pubDate>Sun, 15 Nov 2009 15:12:51 GMT</pubDate>
			<description>Currently I am using power on switch on computer, I would like to use power strip switch to turn on or off computer instead power switch on computer,...</description>
			<content:encoded><![CDATA[<div>Currently I am using power on switch on computer, I would like to use power strip switch to turn on or off computer instead power switch on computer, can I do that?. do I have to setup something in linux?. I am using RH Linux.<br />
<br />
I want to controln the computer on/off using power plug switch rather than front panel switch.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>tvnaidu</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/877055-how-can-i-use-power-strip-off-button-instead-computer-button-power</guid>
		</item>
		<item>
			<title>Unlocking root</title>
			<link>http://bytes.com/topic/unix/answers/876961-unlocking-root</link>
			<pubDate>Fri, 13 Nov 2009 07:16:11 GMT</pubDate>
			<description>Hello, 
one day I unlock my root account with command passwd -l. Can anyone please tell me how to unlock the root. 
thanks</description>
			<content:encoded><![CDATA[<div>Hello,<br />
one day I unlock my root account with command passwd -l. Can anyone please tell me how to unlock the root.<br />
thanks</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>anurag275125</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876961-unlocking-root</guid>
		</item>
		<item>
			<title>read lines and process them</title>
			<link>http://bytes.com/topic/unix/answers/876936-read-lines-process-them</link>
			<pubDate>Thu, 12 Nov 2009 20:33:55 GMT</pubDate>
			<description><![CDATA[Hello, 
 
I'm new to unix, have read some books about it , but I don't know how to start this one 
 
example: file.log 
cat: 200                   ...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I'm new to unix, have read some books about it , but I don't know how to start this one<br />
<br />
example: file.log<br />
cat: 200                    ----&gt; together<br />
profileid 100              |<br />
create:10/10/2009     |<br />
cat:201                     ----&gt;together<br />
profileid 102              |<br />
cat 202                    ----&gt;together<br />
create 11/11/2009     |<br />
profile 201                |<br />
............<br />
<br />
I want to have a result like this<br />
cat 201 profile 102<br />
<br />
<br />
all block start with cat. but some of them don't have the line created, i want to filter these block out of the file.log<br />
<br />
<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>BigBen28600</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876936-read-lines-process-them</guid>
		</item>
		<item>
			<title>ftp.</title>
			<link>http://bytes.com/topic/unix/answers/876919-ftp</link>
			<pubDate>Thu, 12 Nov 2009 14:02:17 GMT</pubDate>
			<description>can some one tell me that my client need to download a file from my server which is on linux.how all the configuration will work behind this scene.i...</description>
			<content:encoded><![CDATA[<div>can some one tell me that my client need to download a file from my server which is on linux.how all the configuration will work behind this scene.i don,t have knowledge about linux so plz tell me in detail how to make ftp server?how everything works in getting the file from server by the client.<br />
with best regards<br />
mani.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>shafique1</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876919-ftp</guid>
		</item>
		<item>
			<title>Shell script quoting and line read line</title>
			<link>http://bytes.com/topic/unix/answers/876893-shell-script-quoting-line-read-line</link>
			<pubDate>Thu, 12 Nov 2009 06:00:37 GMT</pubDate>
			<description>Hi all, 
 
I am in the progress of consolidating my 2 NIS databases into 1. My first step is to get the NIS record for particular department. I have...</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I am in the progress of consolidating my 2 NIS databases into 1. My first step is to get the NIS record for particular department. I have software.csv which contain list of name in.<br />
<br />
software.csv:<br />
John Travolta<br />
Elthon John<br />
Sean King Ston<br />
Taylor Swif t<br />
Nicole cage<br />
.......<br />
<br />
I create a simple script to read from software.csv , called genlist.sh<br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">#!/bin/sh</li>
<li class="codeLI">
list_source=&quot;software.csv&quot;</li>
<li class="codeLI">
cat&nbsp;$list_source&nbsp;|&nbsp;while&nbsp;read&nbsp;LINE;&nbsp;do</li>
<li class="codeLI">
N=$((N=1))</li>
<li class="codeLI">
echo&nbsp;'&quot;${LINE}&quot;'</li>
<li class="codeLI">
ypcat&nbsp;passwd&nbsp;|&nbsp;grep&nbsp;\&quot;$LINE\&quot;</li>
<li class="codeLI">
done</li>

	</ol>
</div>
</div>
<!-- /CODE -->


My output is:<br />
John Travolta<br />
grep: Travolta&quot;: No such file or directory<br />
Elthon John<br />
grep: John&quot;: No such file or directory<br />
Sean King Ston<br />
grep: King: No such file or directory<br />
grep: Ston&quot;: No such file or directory<br />
Taylor Swif t<br />
grep: Swif: No such file or directory<br />
grep: t&quot;: No such file or directory<br />
<br />
I tried with many way to play around with my second last line but still not able to resolve. <br />
<br />
Can anyone please help me in this case? Your help is appreciated!</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>DannyMc</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876893-shell-script-quoting-line-read-line</guid>
		</item>
		<item>
			<title>Problem on installing zlib on AIX</title>
			<link>http://bytes.com/topic/unix/answers/876863-problem-installing-zlib-aix</link>
			<pubDate>Wed, 11 Nov 2009 16:24:22 GMT</pubDate>
			<description>Hi,  
I am trying to install Zlib-1.2.3 on my AIX 5.3(becasue Zlib is uninstalled accidentally).When I am compiling the zlib library,I get warning - ...</description>
			<content:encoded><![CDATA[<div>Hi, <br />
I am trying to install Zlib-1.2.3 on my AIX 5.3(becasue Zlib is uninstalled accidentally).When I am compiling the zlib library,I get warning - <br />
# ./configure <br />
Checking for gcc... <br />
Building static library libz.a version 1.2.3 with cc. <br />
Checking for unistd.h... No. <br />
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf() <br />
Checking for snprintf() in stdio.h... No. <br />
WARNING: snprintf() not found, falling back to sprintf(). zlib <br />
can build but will be open to possible buffer-overflow security <br />
vulnerabilities. <br />
Checking for return value of sprintf()... No. <br />
WARNING: apparently sprintf() does not return a value. zlib <br />
can build but will be open to possible string-format security <br />
vulnerabilities. <br />
Checking for errno.h... No. <br />
Checking for mmap support... No. <br />
And when I am trying to install then it can't. <br />
# make install <br />
cc -O -qmaxmem=8192 -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c adler32.c <br />
/bin/sh: cc: not found. <br />
make: 1254-004 The error code from the last command is 127. <br />
Stop. <br />
 <br />
Can any one please help me. <br />
Thanks, <br />
Suman</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>sumandas1982</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876863-problem-installing-zlib-aix</guid>
		</item>
		<item>
			<title>Sed replace</title>
			<link>http://bytes.com/topic/unix/answers/876731-sed-replace</link>
			<pubDate>Mon, 09 Nov 2009 13:42:10 GMT</pubDate>
			<description>I run this script in the bash environment GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu) and sed GNU sed version 4.1.2, which has...</description>
			<content:encoded><![CDATA[<div>I run this script in the bash environment GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu) and sed GNU sed version 4.1.2, which has this line<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">
sed&nbsp;-i&nbsp;'s/$pattern/$desired/g'&nbsp;$file</li>

	</ol>
</div>
</div>
<!-- /CODE -->


this does the desired replace in the command line but not when run in a script.<br />
what possibly could be the reason.?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>kaarthikeyapreyan</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876731-sed-replace</guid>
		</item>
		<item>
			<title>Can I keep Linux machine as CVS server and windows machine as CVS client, both N/Wed</title>
			<link>http://bytes.com/topic/unix/answers/876676-can-i-keep-linux-machine-cvs-server-windows-machine-cvs-client-both-n-wed</link>
			<pubDate>Sat, 07 Nov 2009 13:14:33 GMT</pubDate>
			<description>I have Linux machine and windows machine on same network, I want to keep Linux machine as CVS server and windows machine as CVS client, can I keep...</description>
			<content:encoded><![CDATA[<div>I have Linux machine and windows machine on same network, I want to keep Linux machine as CVS server and windows machine as CVS client, can I keep like that?. My development machine is windows machine, I want to do all check-in and check-out of all files from windows machine, but Linux as server, please let me know whether I can do like that?.<br />
<br />
appreciated.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>tvnaidu</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876676-can-i-keep-linux-machine-cvs-server-windows-machine-cvs-client-both-n-wed</guid>
		</item>
		<item>
			<title>how to restart by using terminal?</title>
			<link>http://bytes.com/topic/unix/answers/876631-how-restart-using-terminal</link>
			<pubDate>Fri, 06 Nov 2009 09:51:12 GMT</pubDate>
			<description>where can i get unix tutorials that explain with tecniques ?</description>
			<content:encoded><![CDATA[<div>where can i get unix tutorials that explain with tecniques ?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>varunreddy</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876631-how-restart-using-terminal</guid>
		</item>
		<item>
			<title>Is there big difference between RTOS and Embedded Linux</title>
			<link>http://bytes.com/topic/unix/answers/876611-there-big-difference-between-rtos-embedded-linux</link>
			<pubDate>Thu, 05 Nov 2009 23:41:52 GMT</pubDate>
			<description>Porting small application from windows to embedded system, not decided what to use whether RTOS or Embedded Linux, is there big difference between...</description>
			<content:encoded><![CDATA[<div>Porting small application from windows to embedded system, not decided what to use whether RTOS or Embedded Linux, is there big difference between RTOS and embedded Linux?.<br />
<br />
also I need to reduce the C code size (during development all debugging symbols are visible), for final product, I don't need all debugging symbols, I need to turn off all those symbols, can I reduce code size for final product?.<br />
<br />
also I have to write a library which should be replacable during run time, I am thinking of develop shared library, this way I can replace this at run time instead of power cycle the device, just  upload shared library and bringdown the process and bringup process again, can I do with shared library. Thanks.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>tvnaidu</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876611-there-big-difference-between-rtos-embedded-linux</guid>
		</item>
		<item>
			<title>windows xp/ CentOS 4.7 Server dual boot problem</title>
			<link>http://bytes.com/topic/unix/answers/876515-windows-xp-centos-4-7-server-dual-boot-problem</link>
			<pubDate>Wed, 04 Nov 2009 06:48:33 GMT</pubDate>
			<description>Hi, 
 
I had an existing machine having a dick with two partitions.  
C: had Windows Xp Professional installed. 
D: i installed CentOS 4.7 Server 
...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I had an existing machine having a dick with two partitions. <br />
C: had Windows Xp Professional installed.<br />
D: i installed CentOS 4.7 Server<br />
<br />
However during installtion i do not recollect if the linux installer gave me an option for dual boot. Now it directly boots into linux. Is there some whay in which i can fix this and use boot menu to boot into my existing windows installtion on C: and the linux installtion on D:<br />
<br />
Please let me know if more info is needed.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>ameyav</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876515-windows-xp-centos-4-7-server-dual-boot-problem</guid>
		</item>
		<item>
			<title>Postfix Configuration with mydomainname.</title>
			<link>http://bytes.com/topic/unix/answers/876510-postfix-configuration-mydomainname</link>
			<pubDate>Wed, 04 Nov 2009 04:54:49 GMT</pubDate>
			<description>sir, 
 
   In linux server, we using Postfix(MTA) configuration then send mail from the outlook Express. 
 
   Everyday our linux server IP address...</description>
			<content:encoded><![CDATA[<div>sir,<br />
<br />
   In linux server, we using Postfix(MTA) configuration then send mail from the outlook Express.<br />
<br />
   Everyday our linux server IP address dynamically changed. So daily I update IP address in my postfix configuration in [mynetwork= ] <br />
<br />
   otherwise mail not sends from client hosts to server. Hence, I want to Postfix Configure with myDomainname.Then only i will never update my postfix configuration.<br />
<br />
   I want how to configure postfix with mydomainname...<br />
<br />
   please give some steps to where the changes will happen from myhostname to mydomainname....</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>sganeshsvk</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876510-postfix-configuration-mydomainname</guid>
		</item>
		<item>
			<title>To send the mail to main server from any host machine IP address by using Postfix ?</title>
			<link>http://bytes.com/topic/unix/answers/876399-send-mail-main-server-any-host-machine-ip-address-using-postfix</link>
			<pubDate>Mon, 02 Nov 2009 06:18:11 GMT</pubDate>
			<description>sir, 
 
  In Linux, We use send mail from some specific client host IP address to main server by using postfix configuration. 
 
  Suppose Some...</description>
			<content:encoded><![CDATA[<div>sir,<br />
<br />
  In Linux, We use send mail from some specific client host IP address to main server by using postfix configuration.<br />
<br />
  Suppose Some unwanted users or other third persons hosts send the mail to main server then their IP address was blocked by using postfix configuration.<br />
<br />
  But,I want How to send the mail to main server from third persons host IP address or any other host machine IP address then it is possible, by using Postfix How to Configuration this... <br />
<br />
there is any command for send mail to main server from any where other IP address by using postfix.......</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/unix/answers/">answers</category>
			<dc:creator>sganeshsvk</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/unix/answers/876399-send-mail-main-server-any-host-machine-ip-address-using-postfix</guid>
		</item>
	</channel>
</rss>
