Difference between revisions of "Update-alternatives"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
 
* <code>sudo update-alternatives --config editor</code>
 
* <code>sudo update-alternatives --config editor</code>
 
* <code>sudo update-alternatives --config vi</code>
 
* <code>sudo update-alternatives --config vi</code>
 +
 +
 +
sudo update-alternatives --config editor
 +
  Selection    Path                Priority  Status
 +
------------------------------------------------------------
 +
* 0            /bin/nano            40        auto mode
 +
  1            /bin/ed            -100      manual mode
 +
  2            /bin/nano            40        manual mode
 +
  3            /usr/bin/vim.basic  30        manual mode
 +
  4            /usr/bin/vim.tiny    15        manual mode
 +
  
 
== See also ==
 
== See also ==

Revision as of 07:49, 22 August 2021


  • sudo update-alternatives --config editor
  • sudo update-alternatives --config vi


sudo update-alternatives --config editor
 Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /bin/nano            40        auto mode
  1            /bin/ed             -100       manual mode
  2            /bin/nano            40        manual mode
  3            /usr/bin/vim.basic   30        manual mode
  4            /usr/bin/vim.tiny    15        manual mode


See also

Advertising: