Audiodog logo
  • Apps
    BPM Tap Tempo PhaseChecker Sleeps 'till Speak Unit Tone Generator Sandwich Sudoku Helper
  • Blog
  • Search
  • Contact
  • About
  • Share with Facebook
  • Share with Twitter

Unix shell quickies

02nd Mar, 2010 | unix

Unix shell quickies
while true
do
  echo "infinite loop!"
done


for i in `ls file*`
do
  echo "Iterating directory files: ${i}"
done


echo "Send me to the log file" >> /tmp/logfile.log

echo "Send me to std error" >2


LOGFILE=./logfile

echo "interactive output..." | tee -a ${LOGIFLE}


ps -eaf | while read pid ppid uid rest
do
  echo $pid
done


echo "Continue: y/n:"
read RESP
Next post: Generate ssh keypairs Previous post: Prebinding and zero link - not required after XCode3.0

Latest articles

  • Reduce your digital footprint
  • The easiest way to reduce CO2 with your computer right now
  • Green issues are the most important thing to be talking about right now
  • How to auto increment Xcode project build version numbers without plist
  • Core audio component types

Tags

green xcode coreaudio swift web agile repair personal random ios tutorial unix php phpstorm xdebug git magento chef devops ec2 vagrant virtualbox mysql breezejs midi osx svn mongodb parallels symfony css apache nginx trac oop joomla objective-c regex
This website is hosted Green - checked by thegreenwebfoundation.org
Privacy policies: Paid apps | Free apps
© Audiodog 2008 - 2024
Do you like cookies? 🍪 We use cookies for analytics to ensure we can continue to improve our website. Learn more