APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds RSS Feeds









MacOSX



Chrome OS on Vmware Fusion If you've read about Chrome OS, you know that it's basically Linux in a kiosk mode. The only apparent application available to you is the browser. However, that's not really true: a "Ctrl-Alt-T" will open up a terminal window. One there, you'll find that you are really logged in as "chronos" and that you can use "sudo" for anything you need to do as root. (password for "chronos" is "chrome")


Title Date Comments
Monitoring file or directory changes   2003 11  2013/02/01 anonymous
- Many modern systems provide a way to watch a directory for events -
OS X file encryption   2006 05 
- File encryption for Mac OS X. I'm going to look at two methods for encrypting files on Mac OS X. The first is built in, and uses DisK Utilty to create an encrypted disk image. -
Mac Screen sharing is not just for Macs   2008 01  2012/03/22 TonyLawrence
- Mac Screen Sharing can connect to any VNC host. That's Mac Screen Sharing connecting to a TightVNC server on my wife's Windows XP machine. -
Finding large files   2006 12  2010/10/02 wilson
- Where has the space gone? Although it is getting harder and harder to run out of disk space, some of us still manage to do it. -
Tightvnc, Chicken of the VNC   2003 10 
- Reviews of TightVNC and Chicken of the VNC. VNC is "Virtual Network Computing" and is a crossplatform method of allowing remote access to desktops (Windows or Unix/Linux, Mac and others)). It is conceptually like using Terminal Services or PcAnywhere etc for Windows but is license free and of course capable of serving Linux/Unix machines also. -
Numeric Unix Error Messages   2001 12  2010/04/06 TonyLawrence
- It's an unfortunate fact that many programmers are lazy about error messages. Very often, all you get is a cryptic "Error 5", and you may be lucky to get that. -
Dealing with Duplicate IP addresses   2009 04  2011/11/13 TonyLawrence
- Duplicate IP's on a network is an interesting problem that has no completely satisfactory solution, especially when malicious intent is involved. Let's leave those intentional conditions for another day; here we'll look at what happens when an IP gets duped accidentally. -
Compiling on Mac OS X   2006 03 
- make, configure, cc need xcode macosx - which Apple provides for free, but does not install by default. -
Mac OS X launchd   2005 12 
- Daemons have become pretty confusing on Mac OS X. Originally these were handled by inetd, then xinetd, and now launchd has taken over. Unfortunately, there's a mess of left over stuff hanging around: you'll still find services in /etc/xinet.d and other places -
Who locked that file?   2007 11 
- Determine what process has a file locked - I can't even imagine how many times I've heard someone complain about a locked file. -
uname version -->Re UNIX version check command   1997-2004 
- Usually some variant of uname, often 'uname -a', but all sorts of other possibilies; t d epends on the Unix and in some cases even the specific version. -
CUPS print to file - the hard way!   2003 03 
- Cups print to file - there are easier ways to do this, but I didn't know that when I needed to do it! -
 
 
 
 
Copy pictures back to your camera   2007 12  2012/03/04 RLWalker
- How to put pictures on your computer back on your digital camera -
Linux and Unix Troubleshooting E-Book   2008 12 
- Practical e-book for Linux and Linux troubleshooting I really enjoyed writing this. If you work with Linux or Unix systems, you could use this. -
Take Control of the Mac Command Line with Terminal   2009 05 
- 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. -
Bash HISTCONTROL   2006 05  2011/04/07 TonyLawrence
- controlling bash history. There are actually several values HISTCONTROL can take. On newer bash, it can be set to "ignorespace", "ignoredups", "ignoreboth" or "erasedups". Bash 2.05 doesn't have "erasedups". -
Slow Firefox DNS Mac OS X Leopard   2007 12  2012/05/08 ElizabethA
- Firefox unable to resolve google sites after waking from sleep. Flushing DNS cache seems to fix it. -
tftp and launchctl on MacOSX   2008 01  2011/03/24 DonalWhooley
- Enabling tftp on Mac OS X Leopard with launchctl allows you to use your Mac as a tftp server. -
Burning Windows Readable CD's from your Mac   2005 12  2012/10/09 TonyLawrence
- Mac OS X Tiger has a neat new feature for burning CD's: from the Finder's file menu, you choose New Burn Folder, and then drag whatever you want to burn into that new folder. Open the folder, and you'll notice a Burn button just above the files. Pop a blank CD in and click that to burn the files to cd. -
Unix and Linux startup scripts, Part 1   2009 12 
- In the beginning, there was "init". If you had a Unix system, you had "init" and it was almost certainly process id 1. -
How do I set up a network printer or print server?   2009 09  2010/06/23 TonyLawrence
- How do I set up a network printer or print server? -
Cell Phone Internet Connections   2003 06 
- How to use your cell phone as Internet access point. You can get text messaging with almost any cell phone nowadays, and it's no great trick to forward email to that. The problem is that it's too hard to read that way: long messages get broken up, the cellphone doesn't have a great keyboard, and it just isn't worth the trouble. -
Printing to a remote printer with a dynamic address   2003 06 
- You have a PC at home and you make some sort of connection over the internet to your server, but your application needs to print to your PC. -
New Battery for MacBook Pro   2009 02  2011/06/18 raj
- I bought this Macbook Pro three years ago this February. When I first got it, the battery life was decent, but not up to the advertised specs. At best I could only get two hours out of it. Because of that, I bought a spare a few months later - I figured that was a good thing to have anyway. -
join mac os x to win 2003 active directory   1997-2004 
- I've done this. I couldn't find a documented procedure, but this process works for me: Configure the Active Directory service as follows:: -
Making Movies with your Mac   2006 08 
- Free software to create movies on your Mac is easy enough to use. but getting professional looking results is harder. -
How can i mount a ISO Image CD ?   2004 07  2010/07/10 TonyLawrence
- You have an image of a CD or perhaps of a floppy disk and need to mount it as a filesystem (Linux, Mac OS X, BSD, SCO, Solaris). -
SMB Caching   2006 05 
- SMB caching on Windows can be confusing - on a whim, I tried deleting a file, and once that had been done, users could now write and overwrite as desired. -
Using Evernote for OCR   2008 05 
- OCR with Evernote solves my (very, very minor) Optical Character Recognition needs. -
iPad Keynote with VGA projector or display   2010 05  2010/07/27 TonyLawrence
- How to make an external monitor work with Keynote and your iPad - it's too balky right now! -
Using color in shell scripts (Linux, Mac OS X)   2009 11  2010/01/03 BigDumbDInosaur
- Color is tricky. Displays can be bad at it, people can be color blind... using colors can make text hard to read - I don't like using color in scripts. -
New To Unix   2005 01 
- Understanding how and why Unix and Linux are not like Windows. Unix and Linux are different. If your first exposure to computers was DOS or Windows, some of what you learned there is going to trip you up in the Unix world. This article attempts to both explain how Unix is different, and also why it is different, because if you understand why, you'll find it easier to remember. -
Bonjour Discovery   2007 11 
- Bonjour finds a web server on my printer. Bonjour can find other interesting things and can be used for good or evil. -
Finding Leaks in Xcode   2010 04  2010/07/02 abes
- Finding memory leaks with Xcode turns out to be much harder than I thought it would be. -
Sort -u vs. uniq   2009 11 
- Don't tie yourself in pipeline knots with either of them; learn to use each of them appropriately and your scripts will be easier. -
Fugu SSH/SFTP Client   2006 07 
- Fugo is a Mac OS X SFTP, SCP and SSH Frontend with some very strange quirks. -
Disabling Spotlight   2005 12  2010/03/31 TonyLawrence
- I feel sorry for the Apple developers who worked on Spotlight. I'm sure they put a lot of effort into it, and likely think it's a great feature. I suppose it must be disappointing that so many of us don't use it and don't want it even running. -
Leopard Directory Services - dscl and related commands   2007 11 
- I was no great fan of netinfo, so these new dsmemberutil,dscl,dseditgroup,dsenableroot commands are a welcome change. -
Multiple IP addresses on one interface   2009 03  2010/11/22 TonyLawrence
- Using multiple ip addresses on one machine can avoid confusion and lost links. -
Mac OS X dd backup   1997-2004 
- Personally, this makes me a bit nervous. Unflushed disk buffers could mess this up, though apparently he's been ok with it. The system is running while this is dd'ing in either direction. Maybe *you* aren't doing anything, but background tasks are running, and I would think it would be easy to get the disk into an inconsistent state. Apparently that hasn't happened, but I would think that sooner or later dd'ing mounted drives is going to bite him. Were I going to use this, it would be in single-user mode only. -
sandbox-exec (Mac sandbox wrapper)   2007 12 
- Sandbox-exec can protect yoy from unknown binaries -
Awk vs. Perl   2009 11  2012/08/15 TonyLawrence
- Sure, I used to use awk. When I used it, you weren't likely to find Perl onmost Unix systems, so for a lot of text mangling, awk was at least easier than writing in C or anything else. It did the job, and you'd get used to its quirks. -
OS X Console Log Monitoring   2009 06 
- Unixy people tend to look at logs more often and that habit should have come with me to OS X -
Tomorrows's date   2006 03 
- Tomorrow's date is what?: With a very little effort, almost anyone should be able to figure that out themselves: "man date" is a good start. It might take a little more effort to get to the "date +%s" solution": you might need "man strftime" also. But it is all there. -
iPad app file extensions   2010 05  2011/08/05 TonyLawrence
- Finding iPad uti file extensions can be confusing. There is an app that lets you look up the apps that belong to particular extensions, but you don't need to buy anything to find the extensions that an app you own recognizes. -
Find with -execdir   2009 02  2011/10/25 TonyLawrence
- This article discusses the "execdir" option to "find" and the use of "\;" or "+" to terminate the arguments supplied -
The cure for everything - chmod 777   2009 10 
- I admit that I have done a chmod 777 when I should not have. -
Fixing Large Kerio Mailboxes   2008 05  2011/11/29 TonyLawrence
- I bet you have customers who never delete anything out of their Inbox, or if they do, they never empty their deleted items folder. If they are using Outlook PST files, they will sooner or later crash. -
Progress Bars   2005 12 
- Your Mac OS X shell scripts can have progress bars. We all know that software progress bars have to be taken with a large helping of salt. It's not at all unusual for the bar to have no discernible relationship to reality, and this is particularly apt to be true for operating system installations and software installs. -
CleanCode Email   2003 11 
- Using Cleancode email client - a neat little command line utility for scripting outgoing mail without Sendmail. -
 
 
 
 
Basic TrueCrypt Usage   2010 01  2010/01/12 TonyLawrence
- People have said that they installed TrueCrypt, but have no idea what to do next. OK, maybe the interface isn't all that user friendly. -
Smultron Editor   2006 06  2010/04/16 MartinvanDijken
- Smultron editor for Mac is not my kind of tool. I'm quite happy with vi, thank you anyway. -
Prevent deletion or moving of files   2009 10 
- You need to let users create files in a common directory, but you don't want them to be able to delete other's files. Or you've put certain files, directories or symlinks into a user's home directory and don't want them to be able to mess with any of those. What can you do? -
New Linux virtualization option : KVM   2006 12  2012/03/25 TonyLawrence
- KVM stands for 'Kernel-based Virtual Machine' it provides a simple way to have full hardware virtualization available for Linux users on machines that supports either the VT (Intel) or AMD-V/SVM (AMD) extensions for their cpus. -
The amazing tool called netcat   2009 08 
- netcat with its simple and yet incredibly powerful command line constructs has helped me innumerable times -
Gmail vs. in-house Mail Server   2007 10  2011/07/06 TonyLawrence
- Well, in fact I can recommend this for some cases. It may not be for everyone - there are some disadvantages - but it can make a lot of sense and the price is reasonable, especially for very small organizations. -
Linux clipboard utilities lead to frustration and defeat   2008 12 
- There are plenty of Linux cust and past extensions but instal`lation isn't fun -
Mac OS X Mail Client   2002 12 
- Mac OS X Mail Client is not liely to become my favorite, but it does have its charms. -
Protect your Laptop with TrueCrypt   2009 08 
- Truly affordable hard drive, laptop and USB Drive encryption software for your business critical data -


More MacOSX articles

Previous MacOSX articles

pavatar.jpg

Inexpensive E-Books
Instant Download

The Mac Command Line with Terminal

Manage Your Domain Names

Permissions in Mac OS X


book graphic












Have you tried our Tests?