Editing Sysrc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 28: | Line 28: | ||
|<nowiki>-D</nowiki>||Show default value(s) only (this is the same as setting RC_CONFS to NULL or passing `-f' with a NULL file-argument). | |<nowiki>-D</nowiki>||Show default value(s) only (this is the same as setting RC_CONFS to NULL or passing `-f' with a NULL file-argument). | ||
|- | |- | ||
− | |<nowiki>-e</nowiki>||Print query results as | + | |<nowiki>-e</nowiki>||Print query results as sh(1) compatible syntax (for example, `var=value'). Ignored if either `-n' or `-F' is specified. |
|- | |- | ||
|<nowiki>-E</nowiki>||When given `-l' or `-L' to list configuration files, only list those that exist. When changing a setting, prefer to modify existing files. | |<nowiki>-E</nowiki>||When given `-l' or `-L' to list configuration files, only list those that exist. When changing a setting, prefer to modify existing files. | ||
Line 42: | Line 42: | ||
|<nowiki>-i</nowiki>||Ignore unknown variables. | |<nowiki>-i</nowiki>||Ignore unknown variables. | ||
|- | |- | ||
− | |<nowiki>-j </nowiki>''jail''||The jid or name of the jail to operate within (overrides `-R dir'; requires | + | |<nowiki>-j </nowiki>''jail''||The jid or name of the jail to operate within (overrides `-R dir'; requires jexec(8)). |
|- | |- | ||
|<nowiki>-l</nowiki>||List configuration files used at startup on stdout and exit. | |<nowiki>-l</nowiki>||List configuration files used at startup on stdout and exit. | ||
Line 64: | Line 64: | ||
|<nowiki>-x</nowiki>||Remove variable(s) from specified file(s). | |<nowiki>-x</nowiki>||Remove variable(s) from specified file(s). | ||
|} | |} | ||
+ | |||
==Example== | ==Example== |