What Is Opt in Linux?
Contents

The FHS defines /opt as “reserved for the installation of add-on application software packages.” In this context, “add-on” means software that is not part of the system; for example, any external or third-party software. This convention has its roots in the old UNIX systems built by vendors like AT&T, Sun, and DEC.

What is opt command in Linux?

According to the Filesystem Hierarchy Standard, /opt is for “the installation of add-on application software packages”. /usr/local is “for use by the system administrator when installing software locally”. These use cases seem pretty similar.

How do I use opt in Linux?

Follow the below steps:

  1. type cd / and click enter (this will navigate you to the root folder).
  2. type cd opt and click enter (this will change the current directory to the opt directory).
  3. type nautilus . and click enter.

14 янв. 2014 г.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest