0

Where is the path of history file that created by vncserver command line or desktop command line simulator?

I need command line history, but when you use a desktop command line, I can't find history file. Or if you use vncserver command line.

Os: CentOS 6

JD3
  • 410
  • 1
  • 5
  • 14
Hamidreza
  • 1,825
  • 4
  • 29
  • 40

1 Answers1

1

This document contains a list of files created by VNC server. It says the following:

$HOME/.vnc/host:display#.log
    The log file for Xvnc and applications started in xstartup. 

Your command line history file may also have some information (e.g. $HOME/.bash_history).

user2448027
  • 1,628
  • 10
  • 11