DEVGET.NET

Feeding Your Inner Developer

Month: June 2013

Linux ‘Environment Variables’

In windows, when we want a program to run anywhere we simple add it to the PATH section of the…

How to find physical location of /dev/sd* drives in linux

I wrote a lil script to help out with this.. The syntax is as follows: finddrive.py sda How this works…

How to setup open MySQL Port (3306) on Ubuntu

Step 1: ensure we have mysql-server installed. apt-get install mysql-server Then: vim /etc/mysql/my.cnf COMMENT OUT (with a ‘#’): “bind-address =…

How to ‘properly’ remove mysql-server

Believe it or not I actually struggled with this for hours so figured id put the very simple solution here…

How to recursively filter and remove files

find . -name “.DS_Store” -print0 | xargs -0 rm -rffind . -name “._” -print0 | xargs -0 rm -rf via…

Linux rsync backup script

HOW TO USE: edit following file and set DIR as the directory you wish to backup. save as backup.sh make…

How to change date and timezone in linux

To change date: date -s “18 JUN 2013 12:22:00” To change timezone: sudo dpkg-reconfigure tzdata   NOTE: After changing linux…

How to pipe to file and screen in linux

To do this we use the command tee.. eg ls -la | tee filename.txt #or (as shown in my backup…

Reference: Linux ‘top’ command

us: user cpu time (or) % CPU time spent in user space sy: system cpu time (or) % CPU time…

CrownCloud – $7 Month KVM’s in Germany

Came across these guys recently when I was looking for a Germany VPS. Service is pretty cool and loving the…

© 2020 DEVGET.NET. Theme by Anders Norén.