Author Archives:
How to install pkg file commandline?
Recently, when I tried to install a pkg file, just by double clicking, it gave an error. In such situations commandline installer tool comes handy. Here is how you can use it. sudo installer -pkg <pkg name> -target / (Usually the target location is the root folder. However you can also point it to some [...]
Use the built-in TFTP client to trasfer firmware onto your router
Worst thing happened yesterday while I was updating my router(WGR614v9 54 Mbps Wireless Router) firmware. Usually updating the firmware is an easy process. All you have to do is log in to the router via any web browser and upload the latest firmware file. In my case I did manage to upload the file but [...]
Control the volume of your Mac from the Terminal
Recently when I was sitting on my couch in the living room, I have realised that the iTumes running on my iMac (which is in a different room) is playing bit too loud. As it was too comfortable to get up and go to the machine to reduce the volume I found an easy method [...]
Quickly switch between users in OS X
In OS X (Tiger, Leopard or Snow Leopard) it is really easy to switch between users without logging out of the system. However, you need to activate a system preference setting in order to activate the switch mode. Go to System Preferences and select “Accounts”. If you are not an admin user click on the [...]
Snow Leopard is out
After all most two years of development and testing Apple has released it’s new operating system on the 28th August 2009. It is two months earlier than previously planned but many blog sites have correctly predicted the early arrival. According to Apple, this release is all about refinement not reinvention. They have done lot work [...]
Create your own commands using alias
In Unix based operating systems it is quit easily create your own convenient commands using alias. This is particularly helpful when you use certain shell commands in a regular basis. To create alias list you should create or edit ~/.bashrc. Here is how you do it. Open the Terminal.app cd vim .bashrc If the file [...]
Alternative to multiple tabs in OS X Terminal.app – screen
Unfortunately, the Terminal.app comes with OS 10.4 doesn’t have the tab functionality. Most of the Mac users who like to work on several instances of shell without cluttering the desktop use iTerm. However, there is a nother alternative to this called screen. screen is a powerful shell command which lets you open multiple instances of [...]
How to create a symbolic link
Creating a symbolic link is useful when you want to point to an application, a file or folder located in a different location. Usage: ln -s /Original/Folder/Path /Destination/Folder/Path Example: ln -s /Volumes/ExHDD/MyPrograms /Users/John/Desktop/Pro
How to access HFS+ formatted HDD from a Windows PC?
There are several ways you can access a Mac HDD from Windows PC. If you have a Mac and a PC you can activate the File Sharing in System Preferences on your Mac and you are ready to go. The Mac should appear under network. You can make the process easier by mapping the network [...]
Synchronize folders using rsync and ssh
Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It [...]