Linux List Groups

In Linux, users are those who use and operate the system. Groups are the aggregate of users. Groups make it easy for administrators to manage which users should have permission and access to certain information. These include the privileges to read, write, and execute. Apart from an organized system, security is a big factor to consider when configuring users …

Read more

Linux Move File

One of the most basic tasks you’ll encounter is moving files and directories. Today, we’ll teach you how to do it. Using the “mv” command, you’ll move files and directories in no time. Whether you want to copy directory in Linux or move them, this article is for you! How to use the “mv” command …

Read more

Searching Gmail by date

This is a quick post for my own reference to show how to search Gmail by date range. I often write little tips like this for myself so I have somewhere easy to reference them as I forget this sort of stuff all the time 🙂

Server emails and purging the old ones

I get a lot of emails from servers addressed to a specific email address sending reports and all sorts of other stuff. I have filters in Gmail to put them into a specific folder automatically, skipping the inbox and I never actually see them. Emails reporting errors don’t get filtered in the same way so those always hit my inbox.

So these error emails are pretty much just there in case I need to look at them for some reason. Every now and then I like to purge out older server emails and the easiest way is to search for them by date range and then delete.

Searching by label and date range

These server emails get filtered into a label called “Servers”. To search for them prior to e.g. May 1st 2011 (so all emails from April 30th and earlier) do a search like this: 

label:servers before:2011/05/01

If you wanted to search for any email between say May 23rd and May 29th 2011, do this:

after:2011/05/23 before:2011/05/30

Note that the “after” date needs to be the date searching from (it includes that date) but “before” needs to be the day after you want to search to.

Find all symbolic links with the find command

This quick tip shows how to find all the symbolic links under a particular directory using the “find” command from the command line on UNIX based systems such as Linux, OSX and BSD. Find all symbolic links Substitute [path] in the example below with the root level path you want to find symlinks from, and …

Read more