Skip to main content
bksol92
Staff
Staff
January 28, 2026

Technical Tip: How to view commands previously executed in the emscli shell

  • January 28, 2026
  • 0 replies
  • 148 views
Description This article describes how to view a history of past commands executed in the emscli shell. 
Scope FortiClient EMS v7.4.
Solution

The emscli shell keeps track of commands previously executed in the file /tmp/.emscli_history. To bring up the history of commands from the emscli shell, run the following command:

 

execute cat /tmp/.emscli_history

 

Screenshot 2026-01-28 103216.png

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!