A quick-lookup list of the commands used most often on LINCOMM, grouped by task, for users who already know what they want to do.
This page lists the commands used most often on LINCOMM (Linux Community Servers), grouped by task. It is a quick lookup, not a lesson. Throughout, replace jdoe with your NetID and analysis.R (or similar) with your own file name.
Sessions (tmux)
tmux commands for keeping work running across disconnects
| Command |
What it does |
tmux |
Starts a new tmux session. |
tmux attach |
Reattaches to a running session on the current node. |
tmux ls |
Lists tmux sessions on the current node. |
| Ctrl+B, then D |
Detaches from the current session, leaving it running. |
Where am I
Commands that report your current location
| Command |
What it does |
pwd |
Prints the current folder (working directory). |
hostname |
Prints the node you are connected to, such as lincomm-node01. |
Run a script
Commands to run a script in each statistics package
| Command |
What it does |
Rscript analysis.R |
Runs an R script. |
stata -b do analysis.do |
Runs a Stata do-file in batch mode, writing output to a log file. |
python analysis.py |
Runs a Python 3 script. |
Monitor jobs
Commands to see what is running
| Command |
What it does |
ps |
Lists processes in your current session. |
ps aux | grep jdoe |
Lists all of your processes on the node, across sessions. |
top |
Shows live resource use. Press q to quit. |
Control jobs
Commands to start, pause, resume, and stop jobs
| Command |
What it does |
analysis.R & |
The trailing & runs a command in the background. |
| Ctrl+Z |
Suspends the current foreground job. |
bg |
Resumes a suspended job in the background. |
fg |
Brings a background or suspended job to the foreground. |
jobs |
Lists jobs running in the current session. |
kill 1602 |
Asks process 1602 to shut down. Use the real PID from ps or top. |
kill -9 1602 |
Forces process 1602 to stop immediately. |
File-share access
Commands for keeping AAE file-share access valid
| Command |
What it does |
kinit |
Renews your file-share access now. Prompts for your NetID password. |
krenew -K 60 analysis.R |
Runs a command while renewing file-share access every 60 seconds, for long jobs. |