Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
any body can assist me, iam planning to learn shell scripting usefull for linux. i want to know by whether shell scripting and c language are same or different.
Very different. Shell scripting is just that, scripting. All POSIX shells support the scope of that standard plus their own little extensions or improved functionality. Scripting means the code is interpreted at run-time. C is a compiled language, much stronger and more advanced than shell scripting and being a compiled language means that you write the code, compile it into machine code and then it's run. Much quicker than scripting languages. Here are some links which should clear some stuff up
they are very different. Shell scripts can not be used for very complicated programs, while C can be used for anything.
Shell scripts are quicker to write and would be used for eg writing a program to back up all new files every hour.
C is the language used for the Linux kernel and a lot else.
Originally posted by gadekishore which one is the best , then you guys prefer. i need to use for scripting in linux environment. if iam going through 'c' is it ok
What do you need to do with it? The sign of a good programmer is the willingness to use the correct tool for the job. There are many task better suited towards your favorite scripting language and there are many tasks best suited to a programming language like C.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.