Editing Sysrc

Jump to: navigation, search

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 [https://www.freebsd.org/cgi/man.cgi?query=sh&sektion=1&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports sh(1)] compatible syntax (for example, `var=value').  Ignored if either `-n' or `-F' is specified.
+
|<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 [https://www.freebsd.org/cgi/man.cgi?query=jexec&sektion=8&apropos=0&manpath=FreeBSD+12.1-RELEASE+and+Ports jexec(8)]).
+
|<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==

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page: