Monday, April 29, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 558  / 3 Years ago, thu, august 19, 2021, 1:12:35

I have installed Eset antivirus as per the instructions given here All is working well but instead of gui I want to have a responsive terminal option available too thus I created a symlink via:



sudo ln -s /opt/eset/esets/sbin/esets_scan /bin/eset



now I can siimply run eset <destination> along with further flags to get the job done. Provided the eset by default scan all subdirectories in said destination I want to hava a nautilus script that sits in my context & whenever I want I right-click a folder (& using this script) be able to scan that folder.



Of coarse I want the terminal to remain open so that I can see the progress & logs, in my attempts the scan initiates but as soon as it is done terminal quits :(


More From » gnome-terminal

 Answers
3

So, the only thing you like is for the terminal to remain there after the scan completed? That's pretty easy. In the last line of your script add the command read.



eg.



#!/bin/bash



....Your script....



read


[#30255] Friday, August 20, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
enefiama

Total Points: 43
Total Questions: 125
Total Answers: 102

Location: Gabon
Member since Sat, Jul 25, 2020
4 Years ago
enefiama questions
;