Lanisicke

joined 1 year ago
 

I have installed ClamAV to scan for viruses. It has 2 commands for scanning: these are clamscan and clamdscan. I use clamdscan because it is faster.

However, clamdscan cannot scan within home directories, or any directory it does not have permissions for, even when running as root. clamscan does not have this problem.

[–] Lanisicke@lemmy.world 2 points 10 months ago (1 children)

Judging by the first line, this script is a set of Bash commands.

If this line is there, when the script is executed it will run as a Bash script.

This line is required for it to work as a Bash script; if it isn't there, it will execute using the kernel, and it won't work because it's not a binary program.

If you want it all in one line, just copy and paste it into a terminal that already runs Bash, and exclude the first line. But why do you want it in one line in the first place? Multiline scripts have no performance drop, and they are more readable.

[–] Lanisicke@lemmy.world 3 points 1 year ago

No love for twist ties here

[–] Lanisicke@lemmy.world 2 points 1 year ago

Even crazier than mine! Take my upvote.

[–] Lanisicke@lemmy.world 1 points 1 year ago
  1. Call the police to control the riot
 

A supervillain builds a bunch of robots to fight a war against everyone. The countries of the world will have to cooperate and make alliances to beat them.

Plus, now it would actually be moral to build cool weapons.