Code Snippet

Just another Code Snippet site

unix

[Unix] RHEL Setup RDP server

https://medium.com/@ndeepak_/how-to-install-xrdp-on-red-hat-8-and-centos-1b260c937890 Install EPEL RHEL8 Centos 8 Install Gnome Desktop and VNC Server Start and check server Firewall config, if needed: For VNC/RDP, user/password is mandatory, SSH key is not possible.

, , , ,

[How-To] SSH

SSH to a machine using an SSH bastion (proxy) for example : and with additional SSH options : —- SSHPass Execure command as ssh (using SSH PASS)

, , ,

[JMeter] Headless configuration (CSV output)

jmeter.properties configuration : jmeter.save.saveservice.output_format=csv jmeter.save.saveservice.assertion_results_failure_message=false jmeter.save.saveservice.label=true jmeter.save.saveservice.response_code=true jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS jmeter.save.saveservice.default_delimiter=; Starting JMeter headless :

, , , ,

[Unix] X11 Forwarding

On client machine, define Env. Property : DISPLAY=:0 run Xming server (default config) start Putty with X11 enabled and X11 server defined. connect to remote server run command or test X11 server using command : In case of font issue, run this command before starting installer : For Linux, ensure X11 packages are all installed […]

, ,

[Bash] Aliases

To add ‘top’ in Solaris : to add ‘wget’ in Solaris : —————————————- Filtered history : Create an .inputrc file in the home folder with following content :

, , , ,