soft:bash
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| soft:bash [2023/12/20 00:23] – asad | soft:bash [2024/10/16 01:21] (current) – [Screen] asad | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ^ Function ^ Code ^ | ^ Function ^ Code ^ | ||
| | Check storage | '' | | Check storage | '' | ||
| + | | Check storage | '' | ||
| + | | Physical volumes | '' | ||
| + | | Remove | rm -rf sth | | ||
| | System usage monitor | '' | | System usage monitor | '' | ||
| | CPU information | '' | | CPU information | '' | ||
| | Check drives | '' | | Check drives | '' | ||
| | Check GPU | '' | | Check GPU | '' | ||
| + | |||
| + | ===== - Building from source (with python) ===== | ||
| + | <code bash> | ||
| + | cd software | ||
| + | mkdir build | ||
| + | cd build | ||
| + | cmake -D BUILD_WITH_PYTHON=ON -DCMAKE_INSTALL_PREFIX=< | ||
| + | sudo make install | ||
| + | export LD_LIBRARY_PATH=< | ||
| + | export PYTHONPATH=< | ||
| + | </ | ||
| ===== Ports ===== | ===== Ports ===== | ||
| Line 20: | Line 34: | ||
| ===== Screen ===== | ===== Screen ===== | ||
| - | < | + | * Create a screen: '' |
| - | screen | + | * Detach from the screen with keyboard shortcut: |
| - | screen -ls | + | * See a list of screens: '' |
| - | screen -d -r name | + | * Attach to the desired screen: |
| - | </ | + | * Detach from outside (not needed usually): '' |
| - | + | ||
| - | Detach screen from another ssh shell: '' | + | |
| - | + | ||
| - | Keyboard shortcuts: | + | |
| - | * '' | + | |
| - | * '' | + | |
| ===== Server ===== | ===== Server ===== | ||
| Line 68: | Line 76: | ||
| ===== GPU ===== | ===== GPU ===== | ||
| - | < | + | < |
| sudo apt autoremove nvidia* --purge | sudo apt autoremove nvidia* --purge | ||
| sudo / | sudo / | ||
soft/bash.1703057005.txt.gz · Last modified: by asad
