Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
My /etc/sysconfig/network-scripts/ifcfg-eth0 file looks like the following. How do I determine if quotes are required? For instance, IPV6INIT is set to yes, and IPV6_AUTOCONF is set to "yes". Thank you
It reallly depends on the conf file. Each program is free to decide how to parse its config files. Sometimes you need quotes if there are spaces or any other non-alpha characters in the string. Sometimes not. The only way to know for sure is to read the man pages for the package.
It reallly depends on the conf file. Each program is free to decide how to parse its config files. Sometimes you need quotes if there are spaces or any other non-alpha characters in the string. Sometimes not. The only way to know for sure is to read the man pages for the package.
One in particular I was having problems with was wpa_supplicant. I see how I can do both "man wpa_supplicant" as well as "man wpa_supplicant.conf". They don't explicitly address quotes, but sometimes show quotes around a string in their examples. Do you typically base whether quotes are required based on an example in the man page?
In this particular instance, the "configuration file" is/used to be a shell script included, so quoting rules follow the requirements of the shell script. You can get REALLY creative with that.
Now that NetworkManager is supposed to do everything it might not be a shell script interpreting it.
For one thing, Linux is case sensitive by default, for cmd, params, filenames etc etc.
However, a programmer can choose to be case insensitive when accepting arguments; fairly normal when accepting Yy/Nn and other variations on yes/no.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.