Home » Tag Archives: Linux

Tag Archives: Linux

Selenium Headless Firefox WebDriver using PyVirtualDisplay

selinium logo

I needed to take screenshots from websites that i crawl and selenium headless webdriver is the right tool for me. I was using wkhtmltoimage untill now but I am running into problems with some websites. I’ll be using Debian Linux for this without a Desktop environment so i needed to install selenium headless webdriver and I decided to use Firefox as ...

Read More »

Linux find text in file

Debian Logo

If you need to find text in file or multiple files on a Linux system you can use grep (global regular expression print) in a very efficient way to do so.  Here are few examples that I commonly use. Find text in file into a directory Use this command to find the text you are looking for within the directory cd /path/to/directory/ ...

Read More »

Linux SCP command for secure file transfer

Debian Logo

Secure Copy or SCP is part of SSH. This are few examples of using SCP commands for those like me who just could not remember all the options. On almost all Linux machines we don’t want to add additional software that we don’t need, but we need to transfer data from one host to another. SSH’s scp command will come ...

Read More »

Manage Samba permissions from Windows

Samba logo

For those who installed samba and join the server to Windows Domain, this tutorial will show you how to Manage Samba permissions from Windows machine. There are a tutorials how to install Samba Server and join it to Windows Active Directory domain, but on most of them i haven’t seen how to manage Samba permissions from Windows machine. Filesystem support ...

Read More »

Linux: Delete Files Older Than X Days

Linux

This is a very simple tutorial how to find and delete files older than X days. I needed this for a project where i collected some images and after a while they took too much space. With this you will be able with the Linux find command to find your JPG files older then 30 days and then execute rm ...

Read More »