Bash Brace Expansion

The new tricks Bash has picked up in 3.0 are exciting and useful, but simple brace expansion has been available for some time now, and yet we seldom see it used. I suppose that's because the need doesn't come up too often.

Title  Last Comment
I'd be a lot happier about Apple's electric car if Steve Jobs were still in charge  
- I'd be a lot happier about Apple's electric car if Steve Jobs were still in charge -

Apple News Crashes on IOS 9  
- Apple, shame on you. If you can't make this work right, don't do it at all -

Is a 16GB iPad/iPhone sufficient?  
- Is a 16GB iPad/iPhone sufficient? The salesperson said I should do at least 32GB. -

Are you kidding me, Apple?  
- Are you kidding me, Apple? This is what you call making IOS apps secure? XcodeGhost infects IOS store -

Apple News Publisher in IOS 9 Beta 2  
- I'm enjoying Apple News in IOS 9 Beta 2 and think it may well become my favorite when IOS 9 is officially released. -

Windows 10 - flop or success?  
- Am I wrong to think that 14 million Windows 10 downloads is not an impressive number? -

Is Apple finally taking security seriously?
- Do the new security features slated for IOS 9 and OS X 10.11 mean Apple is finally turning its eye to security? -

Where can I get a hexadecimal or binary calculator?  
- Where can I get a hexadecimal or binary calculator that will help me manage hex and binary numbers? -

Apple's News Publisher shakes things up  
- Is Apple's News Publisher the future of Internet News? Apparently it is worrying some big names in that area. -

Take Control of Security for Mac Users  
- Most security books are too technical for the average reader. Take Control of Security is not - learn how to protect yourself with this new book by Joe Kissel. -

iCloud photo syncing cost me  
- iCloud photo syncing can affect computer performance, but can also bring extra data costs if you are not careful. -

Is Apple losing its mojo?  
- Would Steve Jobs have allowed bad Apple Watch apps? Would he even have released the product? -

- I don't like lists. I REALLY don't like lists. But I do like Wunderlist. -

Homebrew for Mac OS X  
- Homebrew is yet another package manager for OS X. I suppose it must have advantages, but I didn't find any. -

How can I monitor bandwidth so we don't accidentally exceed our hotspot data?  
- I'd like to keep an eye on my bandwidth usage while on vacation to avoid overcharges. -

How can I see what pages are being accessed at my website?  
- I'd like to watch my logs as new visitors come. How can I see what pages are being accessed in real time? -

Afraid to upgrade because of losing iPhotos?  
- Yes, Photos has changed - a lot. But it's still your photos and avoiding upgrades is not a good long term strategy. -

Macs are so expensive? You mean like onions?
- Are Macs really overpriced? Let's fight it out one more time! -

Take Control of the Mac Command Line with Terminal  
- Old-timers like me couldn't avoid being exposed to command line interfaces - that's all we had when we started Younger people and people who simply started using computers a bit later weren't necessarily exposed to any command line. Any computer they ever used had a graphical user interface and while it still may have had a command line available, there was seldom any incentive to use it. That apparent lack of any compelling reason remains true, but in fact understanding the command line can give you much more control over your computer and allow you to accomplish some tasks much more quickly and easily. -

Samepage - Redefining how people create and share information
How do I merge images with Preview on MacOSX?  
- I need to merge two images into one on my Mac. I've read that Preview can do that, but I can't make it work. -

Mac OS X 'rootpipe' is not a backdoor  
- An exploit that requires a local login is not a back door. It's not even an open safe. Most of us have nothing to fear. -

OS X vs. Linux - convenience and predictability wins   2015/04/19 TonyLawrence
- Why do developers choose OS X instead of Linux? Duh.. same old answers. Convenience and predictability wins over purity and devotion. -

Take Control of Numbers  
- Apple's Numbers spreadsheet has more power than you may realize. This is no toy; learn it inside and out with this Take Control eBook -

Patch fixes sudo escalation flaw  
- Yosemite 10.10.3 patches a local exploit that elevates an ordinary user to root privileges. Upgrade now and do not run as an administrator account. -

Take Control of Apple Mail, Second Edition  
- As is usual with these Take Control books, the author points out the bugs and missing features and often has suggestions for workarounds. It won't bore you with basic tasks that you either know how to do already or can figure out easily; this covers the problems and less than obvious things. -

Photos for Mac: A Take Control Crash Course  
- This 30-page ebook helps you decide whether to transition to Photos right away, walks you through importing your iPhoto and Aperture photo libraries, and helps you understand the Photos interface and organize your images. -

More Javascript Hijacks  
- Yet another couple here fell for a fake hijack. Fortunately they sent no money, but others have. Their Mac saved them - sort of. -

iTerminal Pro for IOS   2015/04/02 TonyLawrence
- Adding a private key to iTerminal Pro for IOS 8 by importing -

Is the Apple watch the height of innovation or the height of idiocy?  
- I'm not planning on buying an iWatch. Technically, nobody is, because Apple doesn't use that name, but once this thing starts appearing on people's wrists, that is what it will be called, Apple blessed or not. -

Still trying to fix an overly sensitive trackpad  
- My trackpad was still driving me crazy with phantom clicks and movement -

More control of your IOS camera  
- IOS 8 allows manual camera control - more than I need or even understand right now! -

Upgrading to Yosemite  
- Your Yosemite upgrade can take much longer if /usr has many files -

Fixing a overly sensitive trackpad  
- My trackpad was driving me crazy clicking by itself, but this simple fix cured it -

Problems with Yosemite upgrade  
- I don't think Apple ever tried this from a non-admin account -

Restrict script to console use  
- How to restrict a shell script to prevent use by ssh or to only be used at the console. -

Time Machine Startup Beach Ball Hang  
- One of my Time Machine disks would temporarily stop me cold. Here is a simple fix. -

The Seven Layer inedible OSI cake  
- The other day I had to explain the OSI model to a customer. I'm not usually this cruel, but (as they say) he asked for it. -

Let's be serious about System Administration   2014/04/07 Keith
- Like Rodney Dangerfield, SysAdmins don't always get the respect they deserve. -

Trapping errors in Bash  
- While I think you need to avoid getting too clever in shell scripts, trapping errors can be useful. -

'ps' and 'grep'  
- Grepping lines out of ps is a common task. Unfortunately, it's also easy to go terribly wrong and not get what you expected at all. -

tput and stty  
- tput and stty are related in the sense that they both have to do with how a Unix terminal behaves. Tput is perhaps less important than it used to be, but still useful -

Basic software firewall introduction for home users  
- You almost certainly have a software firewall on your Windows or Mac computer. You also probably have a hardware firewall. Understanding just a little bit about them can save you trouble. -

Is rm final? Can I get my files back?   2013/08/07 BigDumbDinosaur
- Is rm final? Are the files gone forever? It depends on what you mean by really gone and also depends upon your file system, your OS, and rm itself. -

Run a script every other day but not on weekends  
- While this became much easier with Vixie cron, there are still circumstances that need some extra help in the script. -

Length of a domain name  
- What IS the longest possible domain name and why isn't it in the book of Guinness World Records? While we're at it, what is a domain name anyway? -

Sparse Files  
- Sparse files are a result of the way systems allocate storage space. Sparse files appear to take up much more disk space than they actually do. -

Printing multiple files  
- I have 25 .txt files that I would like to print. They are named 1.txt, 2.txt and so on. How can I do this? -

When bad things happen to good computers   2013/07/31 TonyLawrence
- Computers are usually very reliable, sometimes running for decades with no attention. On the other hand, sometimes bad things happen.. -

What does 'everything is a file' really mean?  
- Everything is a file? How ridiculous: is a horse a file? How about a pitcher of beer dumped over the nearest Unix geek's head - is THAT a file? -

Why won't IT staff recommend Macs or Linux?   2010/01/20 anonymous
- Microsoft pays close attention to what people want. They may do a horrible, botched job of providing it initially, and at the next revision, and so on, but eventually they do provide decent products. -

Kerio Connect Mailserver
Why does so much of Unix and Linux have to be hard?  
- Obviously you have REASONS for sharing whatever it is you shared. Sometimes those reasons are completely altruistic, sometimes not. -

Shebang - What's the point of #!/bin/bash?  
- Shebang, hashbang, pling - whatever you call it, what's the point? What does it do? Do you need it in shell scripts or not? -

Determine Unix/Linux version and cpu's  
- Usually some variant of uname, often 'uname -a', but all sorts of other possibilies; it depends on the Unix and in some cases even the specific version. -

Mysterious panics and freezes  
- Crashes, panics and freezes: all work halts and you can't help being surprised. What just happened? -

Passing shell environment variables  
- Is there anyway for a child process to set an environment variable visible to its parent? -

Deleting a lost file name - delete unremoveable files  
- It HAS a file name- it probably has control characters in it that are confusing the display. Try ls -b. If that doesn't work, do "ls -l > /tmp/t" and the "vi /tmp/t" -

Using Windows 8 in Parallels Desktop Mobile  
- Knowing some keyboard shortcuts can help in using Windows 8 through the Parallels Mobile app. Too bad there are so many to memorize! -

Windows 8 in Parallels Desktop  
- Yesterday I upgraded my old Vista virtual machine to Windows 8. It was inexpensive, painless and surprisingly quick. -

Early reminders for first Monday of month events  
- I kept forgetting to send our club meeting notices to the newsletter. Google Calendar couldn't help me, so I wrote this script. -

More MacOSX articles

privacy policy