As of Mac OS X Lion 10.7, Terminal includes exactly this functionality as a Service. As with most Services, these are disabled by default, so you'll need to enable this to make it appear in the Services menu.
System Preferences > Keyboard > Keyboard Shortcuts > Services
Enable New Terminal at Folder. There's also New Terminal Tab at Folder, which will create a tab in the frontmost Terminal window (if any, else it will create a new window). These Services work in all applications, not just Finder, and they operate on folders as well as absolute pathnames selected in text.
You can even assign command keys to them.
Services appear in the Services submenu of each application menu, and within the contextual menu (Control-Click or Right-Click on a folder or pathname).
In addition, Lion Terminal will open a new terminal window if you drag a folder (or pathname) onto the Terminal application icon, and you can also drag to the tab bar of an existing window to create a new tab.
Finally, if you drag a folder or pathname onto a tab (in the tab bar) and the foreground process is the shell, it will automatically execute a "cd" command. (Dragging into the terminal view within the tab merely inserts the pathname on its own, as in older versions of Terminal.)
On a related note, Lion Terminal also has new Services for looking up man pages: Open man page in Terminal displays the selected man page topic in a new terminal window, and Search man Pages in Terminal performs "apropos" on the selected text. The former also understands man page references ("open(2)"), man page command line arguments ("2 open") and man page URLs ("x-man-page://2/open").
gnome-terminal is the default terminal application on Ubuntu. It does have a command line option that should help:
--tab Open a new tab in the last-opened window with the default profile
so you could create a custom keyboard shortcut with the command
gnome-terminal --tab
If you wanted to open two tabs you could create a script file like:
#!/bin/sh
gnome-terminal --tab
gnome-terminal --tab
Then call that script file from your keyboard shortcut.
Best Answer
You cannot use
open .
to open a new tab in Finder, though it is possible to open a new tab using AppleScript - from How do you duplicate current open Finder view in new tab (Mavericks)?Alternatively from http://macscripter.net/viewtopic.php?id=41624