Show Menu
Cheatography

Handy Cheat Sheet Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

MPI

bsub -a mympi -q <queue> -n <ncore> -o bsub.log <Program> <input>

oak: -q beamphysics
bullet: -q beamphysics-mpi -sla bpmpi

MPI Pros: Pelegant genesis2_mpi astra6

BASH

gotonfs, gotoafs, gotosc­ratch
fast to dir
xdg-open
open file browser
eog
open figure
find <pa­th> -name "­*.*­"
find a file
find <pa­th> -name "­*.*­" -exec rm -rf {}\;
find and remove
grep <pa­tte­rn> <fi­le>
find match in a file
grep <pa­tte­rn> <fi­le> | wc -l
count matches