echo ‘Acquire::ForceIPv4 “true”;’ | sudo tee /etc/apt/apt.conf.d/99force-ipv4
~> sudo apt-get install motion
~> mkdir ~/.motion ~> nano ~/.motion/motion.conf
webcam_port 8081 webcam_localhost off
Having problem with auto renaming of network interfaces from eth0->em1 or xyz , here is the fix .
added one line to /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="biosdevname=0" and rebooted after update-grub
How do I find all files with one ore more blank space (while spaces) in their name under UNIX like operating systems?
Simple use ls command along with egrep to list only file names with white spaces
ls | egrep '. '
if you want to do it recursively
ls -R | egrep '. '
and if you want to count it use
ls -R | egrep '. ' | wc