Piotr Nowicki's Homepage

"Simplicity is the ultimate sophistication."

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Blog
  • Exam Simulator
  • Gallery
  • Contact me

Tag Archives: exception

More than one -exec in ‘find’

Posted on April 24, 2011 by Piotr | Leave a reply

I was trying to execute several commands on a single record found by the GNU/Linux find command. The first attempt was to create something like:

find . -name "*.pdf" -exec echo 'test' && echo 'test2' \;

But it’s not the way the find command works.

Continue reading →

Posted in Java, Ubuntu.

Categories

  • EJB (16)
  • Java (57)
  • Misc (18)
  • Ubuntu (21)
  • Windows (1)
  • WWW (6)

About me

profile for Piotr Nowicki at Stack Overflow, Q&A for professional and enthusiast programmers
​
Java Code Geeks

Recent posts

  • Asynchronous CDI Events
  • Java EE 7: JMS 2.0 With Glassfish v4
  • EJB Inheritance is Different From Java Inheritance
  • Defining EJB 3.1 Views (Local, Remote, No-Interface)
  • Entities as Local Interface Parameters Can Harm You

My Twitter

Latest on twitter from p_nowicki 
  • loading...
Follow @p_nowicki

Java community

  • Down Home Country Coding With Scott Selikoff and Jeanne Boyarsky
  • ExamLab OCPJP Exam Simulator
  • GeeCON 2012
  • Implosion-Media blog
  • Java Ranch – a friendly place for Java greenhorns!
  • Majson's blog
  • NoBlogDefFound – Tomasz Nurkiewicz

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
  • About
  • Blog
  • Exam Simulator
  • Gallery
  • Contact me
Proudly powered by WordPress