# 🖥️ System Terminal

The System Terminal section in Advance Point of Sale – Next POS gives admins direct access to run powerful backend commands — right from the dashboard. No need to use SSH or a hosting control panel.

\


<figure><img src="https://2303123582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg970NsjedQxcUQ2m-0%2Fuploads%2F9VKHBzyeR5FvVk7gIyBP%2Fimage.png?alt=media&#x26;token=455afa04-e570-4ad3-9d35-de824a44944e" alt=""><figcaption></figcaption></figure>

It’s designed to help optimize performance, clear cache, fix configuration-related issues, refresh symbolic links, and even install software updates — all with just a few clicks.

***

### ⚙️ How to Use

1. Navigate to: Settings > System Terminal
2. Select a command from the “Select Command” dropdown list.
3. Click the Process button to run the command.
4. The system will execute the command in the background and show the output once done.

\


This allows you to maintain your POS system with ease, even if you don’t have technical experience.

***

### 📋 Available Commands

| Command                                    | Description                                                                               |
| ------------------------------------------ | ----------------------------------------------------------------------------------------- |
| Optimize and Enable Cache (cache\_enabled) | Clears all caches (views, routes, configs) and rebuilds them. Improves speed.             |
| Full Optimize (optimize)                   | Performs complete Laravel optimization including class loader. Recommended after updates. |
| Clear Only Cache (cache)                   | Clears application cache without rebuilding it. Useful for testing/debugging.             |
| Refresh Storage Link (storage\_link)       | Recreates the /storage symlink. Fixes issues with missing images or files.                |
| Install Update (update)                    | Triggers update process if a newer version is available. Internet connection required.    |

***

### 🔐 Access Control

* Only users with super admin roles can access the Terminal section.
* All commands are executed in a safe, sandboxed environment — controlled by the Laravel framework.
* No risk of accidentally harming your server or data.

***

### 🛠️ When to Use Each Command

| Scenario                     | Recommended Command             |
| ---------------------------- | ------------------------------- |
| App feels slow or buggy      | Full Optimize or cache\_enabled |
| Layout changes not appearing | Clear Cache or Optimize Cache   |
| Images/files not showing     | Refresh Storage Link            |
| Just updated the system      | Full Optimize                   |
| Installing latest version    | Install Update                  |
