Guide to IASTU-HPC2
  • Introduction
  • User's Manual
    • basics
      • basic info
      • connecting
      • storage (must-read)
      • module system (must-read)
      • workflow on jobs
    • softwares
      • python
      • mathematica
      • matlab
      • spark
      • singularity
      • fortran, C, C++
      • java
      • command line tools
      • tensorflow
      • jax
    • FAQ
  • Administrator's Manual
    • Hardwares
    • Toolchains
      • Toolset for DELL servers
      • Ansible
      • Slurm
      • Spack
      • Container
      • BigData
      • Toolset for logging and monitoring
      • Further considerations
    • History
      • ToDo
      • VM Test
      • Real Setup
      • Admin Workflow
      • Softwares for scientific computations
      • Relay Host
Powered by GitBook
On this page
  • tmux
  • z
  • tldr

Was this helpful?

  1. User's Manual
  2. softwares

command line tools

In this part, we will give brief tutorials on some useful CLI tools.

tmux

Tmux is installed on all nodes. It can keep some interactive sessions running even the ssh connection is off.

The very basics of tmux (for more information and commands, please google or man tmux).

tmux: open a new session of shell

Ctrl-B D: detach the tmux session and go back to the ssh bash shell

Ctrl-D: kill the tmux shell session

tmux ls: list all active tmux sessions

tmux attach [-t no or name]: go back to tmux session given no.

Ctrl+B [: move the screen in tmux session, enter vim mode

q: quit the above vim mode

Ctrl+B $: rename current session.

Ctrl+B %: to split the session

Ctrl+B O: move focus on different sessions.

Ctrl+B x: kill current panel

Ctrl+B z: maximize current panel

z

To use z, add the following line in ~/.bashrc

. /home/ubuntu/softwares/z/z.sh

And that is all (Note the space in between).

tldr

If you are not interested in the large manual file provided by man <command>, try tldr <command> for a quick and simple cheatsheet.

PreviousjavaNexttensorflow

Last updated 5 years ago

Was this helpful?

Ctrl+B :setw synchronize-panes: input the same command on multiple panels,

One can also further customize the configuration of tmux, one conf example can be found , remember using tmux source-file ~/.tmux.conf to reload the config.

auto jump to directories without full path,

ref
here
repo