Configuring the user's terminal history in Synology DSM is a useful feature that allows you to keep track of your commands and easily access them in the future. This article will guide you through the steps to configure your terminal history in Synology DSM.
Step 1: Accessing the Terminal
To configure your terminal history, you need to access the terminal in Synology DSM. Follow these steps:
- Log in to your Synology DSM account.
- Click on the "Main Menu" in the top-left corner.
- Select "Terminal & SNMP" from the menu.
- Click on the "Terminal" tab.
Step 2: Configuring the Terminal History
Once you are in the Terminal settings, you can configure the terminal history. Here's how:
- Scroll down to the "Terminal History" section.
- Set the "Maximum lines" option to the desired number of lines you want to keep in your terminal history. The default value is 1000 lines.
- Choose whether you want to enable or disable the "Enable auto-scroll" option. Enabling this option will automatically scroll to the bottom of the terminal when new output is added.
- Click on the "Apply" button to save your changes.
Step 3: Using the Terminal History
Now that you have configured your terminal history, you can start using it to access your previous commands. Here's how:
- Open the terminal by following the steps in Step 1.
- To view your previous commands, you can scroll up in the terminal window. The number of lines you can scroll up depends on the "Maximum lines" value you set in Step 2.
- If you want to search for a specific command, you can use the keyboard shortcut
Ctrl + Rto open the reverse-i-search prompt. Type a keyword related to the command you are looking for, and the terminal will show you the most recent command that matches your keyword. - Press
Enterto execute the command.
That's it! You have successfully configured and started using your terminal history in Synology DSM. Now you can easily access your previous commands and save time by reusing them.
References
| Reference | Description |
|---|---|
| Synology DSM Help - Terminal | Official Synology DSM documentation on the Terminal feature. |