How to come back to a "running" shell?

    • Resolved
    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • How to come back to a "running" shell?

      Hi,
      some tasks in OMV take quite a while. In the stage of learning how to work with OMV I like to see the output of a command.
      If I start a long process in the terminal (Putty/Shellinabox) on my laptop and I have to turn off/reboot my laptop, how can I come back to this exact shell I already started to see the output of the process?
      Is this possible?

      Thanks.
      Best.
      Fabian
      MoBo: Fujitsu D3417-B
      CPU: Intel Celeron G3900
      RAM: Samsung DDR4 - 8 GB ECC
      Case: Fractal Design Node 80
      HDD: SSD 64GB (System), 2*3TB+1*4TB (Data) + 1*4TB (Parity). UnionFS + Snapraid
      OMV 4
      Router: Fritzbox 7590
    • Ever heard about screen?

      apt-get install screen

      And maybe some manual like this: linuxize.com/post/how-to-use-linux-screen/
      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive
    • I am using screen too. It is in the operation a bit getting used to. Here is a link to the some important keyboard shortcuts.
      In a terminal window start the program by the command screen. Then start your long term task. Detach from the task by keyboard shortcut 'Ctrl-a d'. Then you can close the terminal window. The task is still executed in the background. To reattach open a new terminal session, then type screen -r
      OMV 3.0.99 (Gray style)
      ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1)- Fractal Design Node 304

      The post was edited 1 time, last by cabrio_leo: typo ().

    • cabrio_leo wrote:

      I am using screen too. It is in the operation a bit getting used to. Here is a link to the some important keyboard shortcuts.
      In a terminal window start the program by the command screen. Then start you long term task. Detach from the task by keyboard shortcut 'Ctrl-a d'. Then you can close the terminal window. The task is still executed in the background. To reattach open a new terminal session, then type screen -r
      Thanks for explaining - I figures this out after a while as well ;)
      But it was more afford...
      Thanks again.
      Fabian
      MoBo: Fujitsu D3417-B
      CPU: Intel Celeron G3900
      RAM: Samsung DDR4 - 8 GB ECC
      Case: Fractal Design Node 80
      HDD: SSD 64GB (System), 2*3TB+1*4TB (Data) + 1*4TB (Parity). UnionFS + Snapraid
      OMV 4
      Router: Fritzbox 7590
    • Hi,

      thanks again for the help here.
      I am just thinking if there is something similar to the screen command (I use this often) for the GUI? Sometimes I do some longer things in the GUI and have to switch of my PC. How can I come back to the showing process (a snapraid fix started in the GUI for example)? Is there a chance?
      Thanks.
      Best.
      Fabian
      MoBo: Fujitsu D3417-B
      CPU: Intel Celeron G3900
      RAM: Samsung DDR4 - 8 GB ECC
      Case: Fractal Design Node 80
      HDD: SSD 64GB (System), 2*3TB+1*4TB (Data) + 1*4TB (Parity). UnionFS + Snapraid
      OMV 4
      Router: Fritzbox 7590