DevelopmentNow Blog

Category Archives: Linux

View Apache Process Details

Handy shell command to list out the Apache processes & what they’re up to ps axo ‘pid user size %cpu %mem cmd’ | grep http | grep -v “\(root\|grep\)”

Posted in Linux | View Comments

Searching Through Files in Linux

I do more & more Linux work from the shell, and it’s starting to grow on me. I used to search through files using this commandfind . | xargs grep -s ‘keyword’ but now & again get errors like xargs: … Continue reading

Posted in Linux | View Comments

Slicehost and Securing SSH

SliceHost and Affordable Linux Hosting I’m trying out a new provider, SliceHost, for the upcoming Portland Open Coffee Club and Portland Open Beer Club web sites. SliceHost provides fast & affordable Linux VPSes with a variety of distros to choose … Continue reading

Posted in Linux | View Comments

Default ownership and permissions for new Linux files

TechTarget has an article on how to set access control lists to define default file permissions. This came in handy for us, as we have several developers who work on our sites. The default file permissions would get annoying, as … Continue reading

Posted in Linux | View Comments

Recursive FTP for Linux

If you need to recursively FTP files (e.g. you’re pulling down data, or doing offsite backups), take a look at lftp. It’s normally available on Linux boxes. One nice thing is that by default it will only transfer changed/new files. … Continue reading

Posted in Linux | View Comments