Home
California Web Design
eMarketing Solutions
Search Optimization
Multimedia & Graphics
Clients
Consultations
News / Content
Contact SJScott
SEARCH
 
Business Information
  SJScott News and Information
useful linux commands
Written by Administrator   
Monday, 08 May 2006
Here is a list of linux commands that help me out.
Maybe they will get you going too.

Count files recursively

find . -not -type d | wc -l

Command line for loop

for i in `seq 6 15`; do echo "showing $i"; done

note: for bsd use the jot command
for i in `jot 10000 1 10000`; do echo $i; done

kill multiple processes

for i in `ps axw |grep postExports |cut -f1 -d '?' |tr -d ' '`; do kill -9 $i; done

Rename Multiple Files in linux

rename .src .c *

Find files over certain size in linux

This one seems to work better: find / -size +200000k -ls


Find and Replace recursively in multiple files


find ./ -type f -exec sed -i 's/tofind/replacewith/' {} ;

Find and remove files/directory


Removes subversion directories
find . -name .svn* -exec sudo rm -Rf {} ;

rm argument list to long


find . -name '*.log' -print0 | xargs -n1000 -0 rm

Linux log out user by killing


skill -KILL -u auser

Last Updated ( Friday, 18 January 2008 )
useful vi commands
Written by Administrator   
Friday, 28 April 2006
I am just using this to hold my useful vi commands

remove carriage returns in vim

also

simple global find replace in vi

:%s/[ctrl+v][return]//g[return]

vi global find replace

:1,$s/REGEX/REPLACE/g

Delete blank lines in vi or vim

:g/^$/d
Last Updated ( Sunday, 14 May 2006 )
Google Maps API in PHP
Written by LIQID   
Saturday, 08 October 2005
I am starting to put together a php API to access the Google Maps API.

Along the way I am going to be keeping a log of all the features that I am adding. If there are any developers out there that would like to contribute information or feature requests feel free to contact me.



UPDATE: Check out the package on source forge. phpGoogleMaps


php google maps
Last Updated ( Sunday, 11 December 2005 )
Read more...
<< Start < Prev 1 2 3 4 5 Next > End >>

Results 1 - 4 of 17
 
CASE STUDIES
 
BUSINESS SOLUTIONS
   
   
 
xhtml compliant Get Firefox! Get RSSOwl
SJScott Enterprise
Simi Valley, CA. 93063
(805)501-9286
Webmaster@SJScott.net