Re: [PLUG] source code of echo command...
On 7/27/07, Dhiraj Khot [EMAIL PROTECTED] wrote: Here is some information which should be useful for you: There are two source codes for echo command (This can be verified using simple basic command type) - Echo is a shell built in. So each shell has its own source code. - If a shell does not have a echo command, then Kernel uses its own source code. And I believe this should be similar to locating source code of any other commands (like grep, etc). So should'nt be problem with that :) Am I missing something here? What does the kernel have to do with the echo command?? Or any command for that matter. You should be able to get the source of echo built into the code of the shell, since it is a builtin shell command. Here is echo from the freebsd 'sh' shell. http://www.freebsd.org/cgi/cvsweb.cgi/src/bin/sh/bltin/ Hope this helps. -aditya -- __ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
Re: [PLUG] Hathway Internet On Fedora Core 6 Linux
On 7/27/07, Anurag Tambe [EMAIL PROTECTED] wrote: Hello Friend, i didn't mean to start a distro war here.i just wanted to say that for newbie mandriva is lot easier than fedora. as Internet settings in mandriva is similar to windows.sorry if i hurt anybody. You are missing the whole point here. Its not about starting any war. The original post was not asking for a easier to use distro. The question was very specific related to Fedora. Its like someone asking how to make tea and you telling him to go drink mountain dew because its more refreshing! -aditya -- __ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
Re: [PLUG] how extent the /var size in Linux web server
On 7/27/07, sunil varpe [EMAIL PROTECTED] wrote: Dear friends i want to know how to increse the size of /var folder in web server. Even i want to know how i can extent the size of /var The easiest way is to add another disk, and mount it under /var. Btw, could you paste the output of the 'df' command here? Maybe there is an easier way. -aditya -- __ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
Re: [PLUG] Hathway Internet On Fedora Core 6 Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nishant Shrivastava wrote: My routing table doesn't show any gateway but the thing is what i should enter in the forst column of the route command and i am even not able to enter the gatewau thru route..gets some error..my gateway IP is 60.243.32.1 http://60.243.32.1 and my for eg is 60.x.y.zi have used ifconfig eth0 to assign my IP to my NIC card...netmask is 255.255.252.0..now how can i enter the gateway ip in routing table Ok, so here's the deal : system-config-network (or neat) as a root user should allow you to edit the properties of your ethernet card. Selecting the ethernet card, and clicking on edit should give you tabs named General, Route and Hardware Device. Click the button to Statically set the IP address and then input the data you have. Save the configuration settings and quit. Restart the network service. Do a route - -n to check if the gateway bits are proper. Edit (use your favorite editor other than OpenOffice.org Writer) the file /etc/resolve.conf to see if the DNS IPs are properly set. If not set them in the file. Try to ping the gateway, then ping the DNS and thereon any external site. :Sankarshan - -- You see things; and you say 'Why?'; But I dream things that never were; and I say 'Why not?' - George Bernard Shaw -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFGqvFMXQZpNTcrCzMRAuG0AJwMxCWWB/jlp6Pttm8aWCJ90F+gmACfV8s0 WgvZnLojJI347956VC7oLVg= =kbSm -END PGP SIGNATURE- -- __ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
Re: [PLUG] source code of echo command...
On 7/28/07, Vaibhav Kulkarni [EMAIL PROTECTED] wrote: On 7/27/07, Sameer Oak [EMAIL PROTECTED] wrote: Where can I find source code of echo command? Here's a minimal echo that does not handle options (-n, -e, etc.) int main(int argc, char *argv[]) { int i; for (i = 1; i argc; i++) printf(%s , argv[i]); printf(\n); return 0; } echo command is nothing but printing of its arguments. I dont think so. try echo * and see the results. According to you, it should give *. Actually it gives a list of files in the pwd. -Sudhanwa !~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~ Have you tried the new FREE Marathi font Aksharyogini we have released? News!! Aksharyogini font will now be available in debian Indic fonts package!! Please get it from http://aksharyogini.sudhanwa.com ~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~~ www.sudhanwa.com -- __ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
Re: [PLUG] source code of echo command...
On Saturday 28 July 2007 15:24, sudhanwa Jogalekar wrote: I dont think so. try echo * and see the results. According to you, it should give *. Actually it gives a list of files in the pwd. Both of you are correct. The * expansion is performed by the shell. So the arguments of program are the list of files in the current directory. And yes, it is still printing the program arguments.. :) Shridhar -- __ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.