-
Recent Posts
- VMware Fusion 4 Black Screen
- How can I configure different emails for different Git servers or repositories?
- How to install telnet client in Windows 7
- Subversion security issues – .svn directory has your source code in it
- Subversion Update: Can’t move .svn/tmp/entries to .svn/entries: Operation not permitted
Blogroll
My Photography Sites
Recent Comments
Archives
- November 2011 (2)
- October 2011 (1)
- August 2011 (4)
- July 2011 (9)
- June 2011 (2)
- July 2009 (1)
- July 2008 (1)
Categories
- Apple (1)
- OSX (1)
- Database (4)
- MySQL (4)
- Linux (5)
- OSes (2)
- Programming (12)
- Code Snippets (3)
- Command Line (6)
- Debugging (1)
- languages (2)
- Source Control (3)
- Git (1)
- Subversion (1)
- Visual Studio (1)
- Server Administration (12)
- Database Administration (1)
- Web Servers (7)
- terminal (2)
- Virtualization (1)
- VMware Fusion (1)
- Apple (1)
Meta
Category Archives: Linux
Find all .htaccess files with a particular php configuration setting
After some testing on a server with a strange setup I needed to find all of the .htaccess files that might contain a particular php configuration directive. The pattern was unique enough that I would have probably just done a … Continue reading
Posted in Command Line, find, grep, Linux, Server Administration, Web Servers
Tagged .htaccess, Command Line, find, grep, PHP, server administration, shell
List installed packages with yum
How do I find out which packages are already installed with yum. The command you’re looking for is ‘yum list installed’ but you might want to combine it with grep or less because it’s most likely going to be a … Continue reading
Posted in Linux, Server Administration, Web Servers
Tagged Linux, Linux Administration, RPMs, server administration, upgrade, yum
How do I Tell What Version of Linux I’m Running?
How do I tell which version of Linux is on my server? There are a number of ways, there is a command line tool `lsb_release` used to check the distribution, and version 123456$ lsb_release -a LSB Version: :core-x.x-ia32:core-x.x-noarch:graphics-x.x-ia32 Distributor … Continue reading
Posted in Linux, Server Administration, Web Servers
Tagged CentOS, Fedora, Linux, Slackware, upgrade, version
How to Clean Up a Mac File in VI with ^M Line Endings
Replacing ^M with new line in VI Have you ever edited a file in VI that was created with a Mac text editor only to find you have one very long line with ^M characters where you are expecting line … Continue reading
Posted in Command Line, Linux
Tagged Command Line, control characters, file conversion, line endings, Mac, vi, vim
OSX Terminal Lock Up or Session Freeze
I usually have at least one terminal window open with a secure shell connection to my server while I’m working. I’m just that kind of crazy person who likes to do some things on the command line. (Ok, most things, … Continue reading
Posted in Linux, OSX, Server Administration, terminal
Tagged Command Line, frustration, lockup, OSX, shell, ssh, terminal, time out