I can't run a file.

Tim Wegener twegener at fastmail.fm
Thu Apr 19 10:30:09 CST 2007


On Thu, 19 Apr 2007 09:51:41 +0930
Garry Trethewey <garrytreth at bigpond.com> wrote:

> If it was WinXP I'd find the xxxx.exe, make a shortcut, stick that in 
> the menu, and Bob would be my uncle. 
> In linux, how will I find the executable file, how will I recognize it 
> as such?

find / -iname '*clam*' -type f -perm +111
 
This will look for files that are set as 'executable'. With Linux the permission bits define whether or not a file may be executed. The +111 part finds files that have any of their execute bits set (user, group or other). The -type f says only look for regular files. The -iname says look for the following filename wildcard, ignoring case. 

> Similar sorts of questions for clam-daemon, freshclam, clamav-docs etc.

Just subsitute 'clam-daemon' etc for '*clam*' in the above command.

> As a side question, there seems to be a "common wisdom" that linux never 
> gets virii anyway, is it reasonable not to bother with an anti-virus?

It is definitely possible to get a virus/trojan on a Linux system, though much less common than under Windows. It depends on what code you allow to run on your system, and how much you trust the source of that code (where you got it). 

Tim


More information about the linuxsa mailing list