Useful Commands

From Open Clip Art Library Wiki

Jump to: navigation, search


Hosting Server

  • To get all users of a group like clipart
getent group | grep clipart | cut -f 4 -d : | sed 's/,/ /g'
  • To find out how many SVG files are in a directory
find . -iname "*.svg" | wc -w
  • To find out how many unique SVG files are in a directory
find . -iname "*.svg" | sed 's/^.*\///' | sort -u | wc -w
  • How to find all cvs modules from within fdo servers
cvs history -a | awk -F= '{print $2}' | sort -u | uniq
  • Current CVS modules (2005-06-21)

USED

  • CVSROOT
  • clipart_web
  • clipart_web/cgi-bin
  • clipart_web/includes
  • dms
  • dms-client-cgi
  • svg_metadata

UNUSED

  • experimental
  • openclipart
  • webpage
  • Set-up your user account to Work Well with Others

There have been many issues with file ownership. I'm recommending that everyone adds this to their ~/.bash_profile

:umask 002

Note: As you might know, umask cannot set the executable bit of file permissions, but that will give file creation for your user account as 664. If you need to make something executable, just 774 or 775 it.

Personal tools