Recent Changes - Search:

BE-BI-PM Section

Useful Information

External institutes, collaborations and meetings


Search drawing name
Folder ID


Office Tips

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf
  • Creating booklet from A4 pdf: pdf2ps file.pdf; psbook -sN (N is number of pages in file but also multiple of 4); print 2 pages per sheet using short edge binding using your favourite program
  • Accessing Oracle database from OpenOffice
    • Database type: Oracle JDBC
    • Name of Oracle Database: PDB (for cerndb1)
    • Host name:
    • Port Number: 1521
    • Oracle JDBC driver class: oracle.jdbc.OracleDriver (needs java folder /afs/
  • Printing on A0 plotters
    • From windows just install the driver
    • Mac only prints on PS plotters, i.e. not on the OCE TDS600 unless someone buys the PS option

Linux Tips

  • Print the internally defined macros in gcc
gcc -dM -E - < /dev/null
  • Solve krb5 ticket forward from ubuntu to SLC
  • LDAP related useful commands
    • ldapsearch [-Q/-x] -LLL -b "OU=Users,OU=Organic Units,DC=Cern,DC=ch" "department=BE/BI" givenName sn cn
    • ldapsearch -Q -LLL -b "OU=Users,OU=Organic Units,DC=Cern,DC=ch" "cn=username"
    • to use AND or OR in search: (&(cn=name)(sn=surname)) (|(cn=name1)(cn=name2))
    • ! means NOT and * is any value (cn=*)
    • ldapsearch -Q -b "OU=Users,OU=Organic Units,DC=Cern,DC=ch" "(manager=cn=username,ou=Users,ou=Organic Units,dc=cern,dc=ch)" cn
  • AFS stuff
    • using groups
      • $ pts creategroup -name pam:friends
      • $ pts listowned -nameorid pam
      • $ pts membership -nameorid pam:friends
      • $ pts membership -nameorid pam
      • $ pts adduser -user jim -user dwight -group pam:friends
      • $ pts removeuser -user dwight -group pam:friends
      • $ pts delete -nameorid pam:friends
      • $ pts adduser pincopanco -group bravin:dev
      • $ pts membership bravin:dev
    • To change access right for people log into lxplus as bipmsvn then edit /afs/
Edit - History - Print - Recent Changes - Search
Page last modified on November 10, 2017, at 12:20 PM EST