Abekta

Nothing human is alien to me

User Tools

Site Tools


soft:bash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
soft:bash [2024/03/31 02:55] – [1. Building from source (with python)] asadsoft:bash [2024/10/16 01:21] (current) – [Screen] asad
Line 2: Line 2:
 ^ Function ^ Code ^ ^ Function ^ Code ^
 | Check storage | ''df -h'' | | Check storage | ''df -h'' |
 +| Check storage | ''du -hs foldername'' |
 +| Physical volumes | ''pvs'' |
 +| Remove | rm -rf sth |
 | System usage monitor | ''htop'' | | System usage monitor | ''htop'' |
 | CPU information | ''lscpu'' | | CPU information | ''lscpu'' |
Line 31: Line 34:
  
 ===== Screen ===== ===== Screen =====
-<code> +  * Create a screen: ''screen -S name'' 
-screen -S name +  * Detach from the screen with keyboard shortcut: ''ctrl+a d'' 
-screen -ls +  * See list of screens: ''screen -ls'' 
-screen -d -r name +  * Attach to the desired screen: ''screen -r name'' 
-</code> +  * Detach from outside (not needed usually)''screen -d -r name''
- +
-Detach screen from another ssh shell: ''screen -d -r'' +
- +
-Keyboard shortcuts: +
-  * ''ctrl+a d'': leaving a screen without terminating +
-  * ''exit'': to terminate a screen+
  
 ===== Server ===== ===== Server =====
soft/bash.1711875346.txt.gz · Last modified: by asad

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki