I tried to find Mozilla NSPR through synaptic without luck. Does anyone know what is it package name?
Home
/
user-2140
c.sokun's questions
I want to write a simple script to detect a file created by Windows virus. Usually it creates an .exe file, with the same name, as the directory it drops.
Here is the script. It only works, if the path name doesn't contain \n. Can someone help me fix this script, please!
#!/bin/bash
if [ $# == 0 ]; then
echo ""
echo "==== Give me a directory to begin with! ===="
echo ""
exit
fi
for f in `find $1 -name '*.exe'` ; do
filename=`basename "$f" .exe`
dir_name=`dirname "$f"`
current_dir_name=`basename "$dir_name"`
if [ $filename == $current_dir_name ]; then
rm -f "$f" # It can't remove files
# where the path contains spaces or \n ??!!
fi
done
Why there is a git
package and a git-core
package? Is there any difference?
Could someone tell me how to replace system default localization font? I mean when it time to render my language I want to use specific font instead of the one Ubuntu choice for me.
thz