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

有帮助吗?

解决方案

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).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top