Tag Info

Hot answers tagged


VirtualBox works very well with OS X as a host. Performance will depend on the specs of your specific MacBook, but if you are responsible with your resources (don't have every one of your apps open at the same time), you probably won't have a problem. Certainly won't hurt to try.


Single user or Verbose mode. Verbose mode start up Restart the Mac Immediately hold down the command + V keys You have successfully entered verbose mode when you see white text appear on the screen. See Apple Support


find can handle spaces in file names. Your for loops are causing the problems. You can put your logic in multiple find commands. Not every directory in a user's home folder should be accessible to only them self. Public and Sites come to mind. You can fix them separately in another find command. find /Users/* ! -path '/Users/Shared*' -type d ! \( -name ...


I was able to resolve the issue by changing IFS to IFS=$(echo -en "\n\b") and not quoting the filename. IFS is Internal Field Separator, it is used (among others) for word splitting after shell expansions, and it includes a space by default. I found the IFS trick at nixCraft's BASH Shell: For Loop File Names With Spaces. $ cat fix-perms.sh #!/bin/bash ...


You can do it all with tail tail -n+14 FILE | tail -r | tail -n+7 | tail -r The first tail removes the top 13 lines The second tail reverses the line order The third tail removes the top 6 lines of the reversed order The last tail reverses the line order again


Try this way: sed '1,13d' filename | head -n -6 The sed command can be used to delete a range of lines. Here 1 and 13 are min and max line numbers.


There's no such thing (from the user point-of-view). Mac OS X is not an open-source operating system.

Only top voted, non community-wiki answers of a minimum length are eligible