Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Videos
  • Top Categories
  • Subscribe via Email
  • Ask A Question
  • Meet Dave
  • Home
  • Linux Shell Script Programming (Page 11)

Linux Shell Script Programming

Accuweather changed, and now the ‘weather’ script is broken!

May 26, 2004 / Dave Taylor / Linux Shell Script Programming / 2 Comments

A reader writes in to report that Accuweather has changed their Web page layout and the shell script from Wicked Cool Shell Scripts that returns the weather forecast (script #63, weather.sh), is broken.

View Answer »

Nifty shell script of the day: calculating standard deviation

May 7, 2004 / Dave Taylor / Linux Shell Script Programming / No Comments

If you find yourself working on the command line and need to whip out a quick statistical analysis or two, you’ll be glad to know that Wicked Cool Shell Scripts fan Josh Kotecha has sent in a very nice little shell script that does just that using the scriptbc script included in the book.

View Answer »

Sneaky ls flags and bestcompress

April 25, 2004 / Dave Taylor / Linux Shell Script Programming / No Comments

Another hiccup in a script included in Wicked Cool Shell Scripts, one that’s a subtle problem because it sometimes occurs because of a user-set LS_OPTIONS flag. Script #37, bestcompress, has the following sequence:


smallest="$(ls -l "$name" $Zout $gzout $bzout | \
awk '{print $5"="NR}' | sort -n | cut -d= -f2 | head -1)"

View Answer »

Permission checks in shell script

April 25, 2004 / Dave Taylor / Linux Shell Script Programming / 2 Comments

A reader of my new book Wicked Cool Shell Scripts pointed out that the capability of testing a file permission with find using the ‘+’ notation is GNU-specific.

View Answer »

Can you prevent people from linking to the media on your Web site?

February 23, 2004 / Dave Taylor / HTML & Web Page Design, Linux Shell Script Programming / 3 Comments

A friend writes:

I’m finding that some number of people are hosting my Janet Jackson
“movie” by simply linking it in from their sites, meaning *I* get to
pay for the bandwidth. Is there some way to prevent this?

View Answer »

Fixing Mac OS X’s “periodic” command

February 13, 2004 / Dave Taylor / Linux Shell Script Programming / 5 Comments

I’ve been discussing the key tasks that a Mac OS X user has to run to ensure that their system stays healthy and in tip-top shape, and one set that we’ve all agreed upon are the daily, weekly and monthly cron jobs. You can figure out when they’re run with a simple grep command.

View Answer »

«‹91011

Search

Recent Posts

  • Easy Way to Install Ubuntu Linux on an M1 Mac System?
  • How Can I Check for Firmware Updates on my Vizio TV?
  • How Can I Identify Where A Photo Was Taken on a Mac?
  • Easiest Way to Delete/Unpair My Phone in an INFINITI Vehicle?
  • How Can I Change Desktop Wallpaper on my PC Every Day?

On My YouTube Channel

Andobil Windshield Sun Shade Umbrella -- DEMO & REVIEW

IFI Audio GO Bar USB-C Headphone Amp -- REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help, (161)
  • Android Help (196)
  • Apple iPad Help (144)
  • Apple Watch Help (52)
  • Articles, Tutorials, and Reviews (344)
  • Auto Tech Help (11)
  • Business Advice (199)
  • Chrome OS Help (23)
  • Computer & Internet Basics (760)
  • d) None of the Above (165)
  • Facebook Help (383)
  • Google, Chrome & Gmail Help (177)
  • HTML & Web Page Design (245)
  • Instagram Help (47)
  • iPhone & iOS Help (604)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (92)
  • LinkedIn Help (85)
  • Linux Help (164)
  • Linux Shell Script Programming (86)
  • Mac & MacOS Help (890)
  • Most Popular (16)
  • Outlook & Office 365 Help (24)
  • PayPal Help (69)
  • Pinterest Help (53)
  • Reddit Help (17)
  • SEO & Marketing (81)
  • Spam, Scams & Security (92)
  • Trade Show News & Updates (23)
  • Twitter Help (217)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (914)
  • Wordpress Help (204)
  • Writing and Publishing (72)
  • YouTube Help (46)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (56)

Archives

Social Networks…

Ask Dave Taylor

Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook

microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2022 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy