Terminal: clear the command history

Cencellare the history of commands from the terminal history is a simple operation. Default, the last 500 commands type in termilane are stored in the hidden file “.bash_history“. The previously typed commands can be read quickly by using the arrow keys (“freccia its” and “down arrow“). This makes it easy to invoke a command recently typed, but it could be a security issue if that session was used by more people. So how does one delete the command history? (more…)

Start a program with GUI remotely via SSH

You not often have to start an application on a remote machine that requires the use of GUI, more widely in applications to launch and “turn” in background, but it can always happen. I'm thinking for example to those who use a computer as a multimedia station (with XBMC setup is very simple) or even just to experience.

Suffice it to say that you can do, but it is necessary to direct the GUI application to a screen in particular. (more…)