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 2)

Linux Shell Script Programming

Write a Linux Shell Script to Produce Passwords?

April 20, 2018 / Dave Taylor / Linux Shell Script Programming / No Comments
linux penguin, shell script programming scripting

I’ve become quite interested in the process of producing random passwords. I’d like to write my own Linux script to generate passwords! Can you offer me an example?

View Answer »

On What Day Does New Year’s Day Usually Occur?

December 29, 2017 / Dave Taylor / Linux Shell Script Programming / 1 Comment
january 1583 gregorian calendar

I’ve been wondering whether New Year’s Day is more likely to occur on a weekday or weekend day. I mean, on a day by day basis. In other words, is it more likely to occur on a Wednesday or Saturday?

View Answer »

How do I program Rock, Paper, Scissors?

October 10, 2016 / Dave Taylor / Linux Shell Script Programming / 2 Comments
write rock paper scissors program simulator game bash shell linux

I want to write a simple rock-paper-scissors game as a shell script for my Linux system. Can you step me through the process?

View Answer »

Shell script: How long someone’s been logged in?

March 2, 2016 / Dave Taylor / Linux Shell Script Programming / 3 Comments

My boss wants to have a simple tool that lets her quickly see how long someone’s been logged in to our Linux server. I figure a quick shell script, but I’m not sure how to code it. Note: Everyone has to log out at the end of the day, so it’s always going to be no more than 8 hours.

View Answer »

Can I analyze EXIF information on the Mac OS X command line?

January 1, 2014 / Dave Taylor / HTML & Web Page Design, Linux Shell Script Programming, Mac & MacOS Help / 7 Comments
mac command line exif mdls

I’m learning how to write shell scripts on my Mac OS X Mavericks system and would like to identify and extract specific information from the EXIF information in photos. Is that possible from the Bash shell command line?

View Answer »

Stealth image capture photo from webcam on my Mac?

April 19, 2013 / Dave Taylor / Linux Shell Script Programming, Mac & MacOS Help / 6 Comments

Someone sneaks into my cubicle while I’m at lunch and takes candy out of my desk. Petty, but stupid too. I want to set up something so that my webcam on my iMac takes photos every few seconds while I’m away from my desk so I can catch the culprit! How can I do that in a stealthy manner while the computer is otherwise asleep?

View Answer »

Secretly capture screenshots on my Mac?

April 16, 2012 / Dave Taylor / Linux Shell Script Programming, Mac & MacOS Help / No Comments

When I used to work on a Linux system, there was a utility we had that would let me take screen captures every 30 seconds while my computer was otherwise unattended, as a way to see if anyone else was using it or not. I liked it. Now I’d like to do the same on my Mac system. Possible?

View Answer »

Parsing “id” strings in a Shell Script?

January 19, 2012 / Dave Taylor / Linux Shell Script Programming

Hello Dave. I need a Bash shell script that creates a directories with the group names automatically when user logs in to the system, in their home directory.
For example, user “sandy” might have the following set of groups from the ‘id’ command:
uid=10002(sandy) gid=119(rtkit) groups=119(rtkit),10001(admin),10003(pr007drdl)
and the directories “rtkit”, “admin” and “pr007drdl” should then be created. How do I do it?

View Answer »

‹1234›»

Search

Recent Posts

  • How Can I Have an iPhone Light Flash on Phone Calls?
  • Guide to Setting Up Gmail for Offline Use (Just In Case)
  • Can I Fill Out & Sign PDFs on my Chromebook?
  • How Can I Get Pinch to Zoom Working on my MacBook Air?
  • How to Save Phone Battery Life with Adaptive Connectivity?

On My YouTube Channel

Motorola Edge 2022 Android Smartphone -- DEMO & REVIEW

1More Sonoflow Hi-Res Audio Headphones -- DEMO & REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help (164)
  • Android Help (230)
  • Apple iPad Help (150)
  • Apple Watch Help (53)
  • Articles, Tutorials, and Reviews (346)
  • Auto Tech Help (17)
  • Business Advice (200)
  • ChromeOS Help (35)
  • Computer & Internet Basics (783)
  • d) None of the Above (166)
  • Facebook Help (384)
  • Google, Chrome & Gmail Help (189)
  • HTML & Web Page Design (247)
  • Instagram Help (49)
  • iPhone & iOS Help (628)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (99)
  • LinkedIn Help (88)
  • Linux Help (174)
  • Linux Shell Script Programming (90)
  • Mac & MacOS Help (916)
  • Most Popular (16)
  • Outlook & Office 365 Help (34)
  • PayPal Help (68)
  • Pinterest Help (54)
  • Reddit Help (19)
  • SEO & Marketing (82)
  • Spam, Scams & Security (97)
  • Trade Show News & Updates (23)
  • Twitter Help (222)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (953)
  • Wordpress Help (206)
  • Writing and Publishing (72)
  • YouTube Help (47)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (62)

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."
© 2023 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy