Research and education quanta of an experimental physicist

RUN LINUX GUI FROM ANY WINDOWS PC

Sep 07, 2016 learning Windows Linux X-window SSH phys-492/592

One can use PuTTY to log into a remote Linux server from any Windows PC. However, this will only give you a command line user interface (CLI). Of course, CLI is powerful enough for you to do most of your analysis task remotely, but sooner or later you will hit the limit of it when you want to visualize your analysis results as plots. This is when you need the help of the X-window system in version 11. According to the wikibooks:

» Read full story ...

RUN ROOT OVER SSH THROUGH PUTTY

Sep 06, 2016 learning ROOT phys-492/592

The best way to learn ROOT for a regular Windows user is probably to install ROOT in Windows, which is available from the ROOT web page for ROOT versions before 6. However, sooner or later, you will be asked to log into a much more powerful server running Linux so that you can use ROOT there to analyze data saved in that machine. In that case, you need to use PuTTY to log into the Linux server from your Windows PC.

» Read full story ...

TERMINAL BASED TEXT EDITORS

Sep 01, 2016 learning text editor phys-492/592

When you log into a Linux machine using PuTTY from a Windows PC, you need a terminal based text editor to create or modify text files. If all you want to do is to read a text file, you need the following commands instead of a text editor:

» Read full story ...

STOP ACCIDENTALLY PRINTING FROM RXVT

Aug 31, 2016 learning terminal

Explicitly set the following X resource of rxvt to something you like instead of the default value: lpr:

» Read full story ...

SEND MULIPLE LINE COMMANDS OVER SSH

Aug 31, 2016 learning SSH

#!/bin/sh
ssh -T usr@host <<'CMDS'
for pid in `ps aux | grep badThings | awk '{print $2}'`
do
  kill -9 $pid
done
CMDS
» Read full story ...
About

Blogs on physics research and educational activities of Jing LIU, an assistant professor in physics at the University of South Dakota. He is an experimental physicist developing novel particle detectors for astroparticle physics and civil use.

Acknowledgement

Some of the activities mentions in this site are supported by the following grants: