Category: Ubuntu Articles
BACK
Mar 23 2014 9:00 AM MAR 23 2014 9:00 AM

Comparing two directories for missing directories

Ubuntu | Terminal

I am working on a backup process for my wife's business. The problem we kee facing is, "Did we back this up?" and "We don't need to back everything up..." Part of this process I am working on is to insure that nothing goes missing... This command helps to make sure of this..

 

diff -q --exclude="Fantom" /Users/myusername/directory/ /Volumes/backup/ | grep "Only in" | grep "myusername" > out.txt

Read More
Mar 14 2014 4:00 PM MAR 14 2014 4:00 PM

Recursively find files and move them to another directoryFind files and move them to another directory

Unix | Ubuntu | Linux | Terminal

I had some software that made individual directories for each day of the month a picture was in... Needless to say that was annoying. So I needed to pull them out and place them into one directory...

find /path/to/files/ -iname "*.jpg" -type f -exec mv {} /path/to/where/you/want/them ;

Read More
Mar 1 2014 5:00 PM MAR 1 2014 5:00 PM

Find specific file types in Terminal

Unix | Ubuntu | Linux | Terminal
find . -name '*.cr2' -o -name '*.CR2' > cr2s.txt

Read More
Jan 8 2014 8:00 PM JAN 8 2014 8:00 PM

Dumping a mysql database that is on a different hostmysqldump

MySQL | Unix | Ubuntu | Linux | Terminal

Basically had an issue with phpmyadin and needed to get a decent dump of someones database. Problem is they setup restrictions on ip addresses so I had to be a bit creative. Most my normal tools such as SQL pro could not connect around all this (At lease to my best effort.)

  

mysqldump -h mysql.yourserver.com -u mysql_user -p database_name table_name

Read More
Sep 11 2013 2:49 PM SEP 11 2013 2:49 PM

Transfer a MySQL Dump to another server and install it.All in one line!

MySQL | Unix | Ubuntu

Thanks to a collegue of mine we were tasked with making a process to transfer files from one site to another in the event of a fail over. This happened to do the trick...

 

mysqldump -u root -pPASSWORD FS TABLE1 TABLE2 | ssh  'cat | mysql -u root -pPASSWORD FS'

Source: Timothy Boronczyk


Read More
Apr 2 2013 8:00 AM APR 2 2013 8:00 AM

Ubuntu blank screen with mouseStartup or from Lock screen blank screen with mouse

Ubuntu

<rant>

Ubuntu seamingly is a pretty good server. But as a Desktop OS has so  many driver/hardware issues it makes it nearly a Geek only operating system. If it wasn't for all the issues and constant need to "fix" it. It might actually make for a decent OS for "everyone." However yet again an issue that I find incredibly annoying I did some googling and found this in Ubuntu's q & a section.

This issue relates to starting up or returning from a lock screen. Ubuntu 11.04 and 12.04 often will start up with a blank screen with only the mouse cursor visible.

 </rant> 


Read More
Jul 19 2012 8:00 PM JUL 19 2012 8:00 PM

Summer 2012 UpdateComing up...

Javascript | PHP | Linux | Ubuntu | Unix

Summers seem to always be the busiest far as running around. I have stepped away from doing any writing for the Summer. Now that summer is starting to heat up and come to a close I have a few articles that I am going to write about this month.

  1. JavaScript Threading
  2. Optimizing your WebApp for large applications.
  3. PHP CPU/Memory usages and how to optimize your app based on these.

Read More
May 4 2012 8:00 AM MAY 4 2012 8:00 AM

Plex App ReviewMedia Streaming Server for your home

Apple | Mobile | Network | Reviews | Roku | Ubuntu | Windows | Linux

 

So far I have been enjoying Plex on my Roku. Its been a house hold helper as my son has a set of movies he watches almost religiously!

Because of that Plex has made not having to switch out movies every time. I would definitely say this is the future of owning a movie collection. Discs are obviously going out of style fast. Statistically speaking people are watching stuff digitally / streaming more than ever. Hard Drives are even recently coming down in price to the point were owning 2 and 3 Terabyte drives is affordable.


Read More
Dec 13 2011 4:56 PM DEC 13 2011 4:56 PM

Ubuntu Terminal connecting to wireless internet DHCP Connecting to your Wireless Router with Terminal

Ubuntu

Recently I was given a VDI, that is a Ubuntu Server. This runs a web app for a company that I work with. We use these VM's for development, integration testing, and testing. When I installed the VDI I found that it was not connecting to my local network by just using the regular settings. After roughly two tutorials I found a mix of the two to be my resolution.


Read More
Sep 29 2011 11:27 PM SEP 29 2011 11:27 PM

LAMP Stack InstallSetting up a LAMP environment.

Apache | PHP | MySQL | Ubuntu

Recently I got curious and adventurous into setting up a Virtual Environment on my Mac's VMware Fusion with Ubuntu, Apache, MySQL and PHP. As a Web Developer I often find little need to be a Sysadmin and spend WAY more time developing. It may come as a shocker but its often not a required effort to need to have the knowledge now days of how to setup the environment I work in! An analogy behind this is a mechanic doesn't necessarily build cars, but rather fixes them. While they may understand the details behind it they may have never put a car together from start to finish, but if they had to they could...

So I figured I would post a little bit about what I did to get it going. Because this was my first run of doing this it took a little longer than it should have. But now that I have gone through it I could probably do it as fast as my machine can download.


Read More

Tweets

Social Media

Categories