Archive

Archive for the ‘Linux’ Category

Setup a Subversion Server in 4 Minutes

March 2nd, 2007 tony 30 comments

You are going to need to type fast but I think you can do it in 4 minutes. :) These are my notes on what worked for me on my Fedora core 6 with svn lib already installed by the package manager:

1. Create a Repository

svnadmin create /svnrepos

Read more…

Categories: Code, Linux Tags:

Copy an Entire Directory in Linux

November 4th, 2005 Tony 35 comments

Yeah, this is simple but I’m forgetful so heres how you copy an entire directory, its subdirectories, and files:

cp -R dirtocopy/ newdir/

Categories: Linux Tags:

Create a tar file of an entire directory and its sub-directories

November 2nd, 2005 Tony 7 comments

To create a tar archive of an entire directory including all files and sub-directories:

tar -cvf mytarfile.tar mydir/

Categories: Linux Tags:

grep all files and sub-directories in a directory for a string

October 14th, 2005 Tony 4 comments

This is mostly just a post for my recollection. To search all files and subdirectories recursively for a phrase:

grep -r -i somethingtosearchfor ./

Categories: Linux Tags: