Unix on a Mac OS X

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Unix on a Mac OS X
# 1  
Old 08-08-2009
Unix on a Mac OS X

Hi. I'm using a Mac computer to perform all my Unix operations. At the moment, I'm employing osascript to interact between windows and don't know whether the same is possible to do it on a BASH shell without calling osascript. If so, I would like to see an example of how to do it.

Many thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix on mac

Hello, I formated my hard disk and i recovered some videos, but the thing is the videos were in .MOV format and now there are just UNIX executable files, i tried to write at the end of the name the extension but quicktime didn't recognize me the videos, somebody can help me with this problem... (1 Reply)
Discussion started by: arielorc
1 Replies

2. OS X (Apple)

Mac OS X & UNIX

I just joined the Forum a few days ago! :) I have a mac book and decided to look under the hood. Low and behold, UNIX! To be honest, I know nothing about unix, but I want to learn. I have no real goals as of yet, other than to learn what I can. I do own a few domains hosted by a good company. ... (4 Replies)
Discussion started by: fellojello
4 Replies

3. UNIX for Dummies Questions & Answers

mac unix

hi, i'm running mac 10.5, and i have a file eg. program after i compiled on the terminal using this command; cc -o program program.c however, i'm unable to see the process hierachy for that program. i tried using "ps -C program -l --forest" and unable to see the tree structure. need... (1 Reply)
Discussion started by: grotesque
1 Replies

4. OS X (Apple)

mac unix

Can anyone tell me were to download unix software for Mac OS X (10 Replies)
Discussion started by: ezadea
10 Replies

5. OS X (Apple)

unix flavour on mac

I'm quite interested in resusing an old bondi iMac i have as a unix box, and i was wondering what distro people would recomend. I had thought of using BSD/FreeBSD cos thats what osx is based on. I'm doing this as a teaching excercise (for myself) so i'm looking for something achievable rather than... (9 Replies)
Discussion started by: ora
9 Replies

6. UNIX Desktop Questions & Answers

Mac OS X & Unix.

Are the Terminal commands used in Mac OS 10.1.3 the same as those found on a real Unix system? if they are, what book would you recommend as a terminal refferance guide? I already have 'The Missing Manual' by O'Reilly, but there ain't much in terms of managing the system via the terminal :( ... (9 Replies)
Discussion started by: LAdesign
9 Replies

7. UNIX for Dummies Questions & Answers

Unix on Mac

Simple Q here. What GOOD telnet programs are out there for MAC. I use this one that can't utilize the VI editor. I don't know why. Thankx for your help in advance. /D (8 Replies)
Discussion started by: DIEZEL
8 Replies
Login or Register to Ask a Question
DateTime::Format::Epoch::MacOS(3pm)			User Contributed Perl Documentation		       DateTime::Format::Epoch::MacOS(3pm)

NAME
DateTime::Format::Epoch::MacOS - Convert DateTimes to/from Mac OS epoch seconds SYNOPSIS
use DateTime::Format::Epoch::MacOS; my $dt = DateTime::Format::Epoch::MacOS->parse_datetime( 1051488000 ); DateTime::Format::Epoch::MacOS->format_datetime($dt); # 1051488000 my $formatter = DateTime::Format::Epoch::MacOS->new(); my $dt2 = $formatter->parse_datetime( 1051488000 ); $formatter->format_datetime($dt2); # 1051488000 DESCRIPTION
This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since the Mac OS epoch. Note that the Mac OS epoch is defined in the local time zone. This means that these two pieces of code will print the same number of seconds, even though they represent two datetimes 6 hours apart: $dt = DateTime->new( year => 2003, month => 5, day => 2, time_zone => 'Europe/Amsterdam' ); print $formatter->format_datetime($dt); $dt = DateTime->new( year => 2003, month => 5, day => 2, time_zone => 'America/Chicago' ); print $formatter->format_datetime($dt); Mac OS X is a Unix system, and uses the Unix epoch (1970-01-01T00:00:00). Use DateTime::Format::Epoch::Unix instead. METHODS
Most of the methods are the same as those in DateTime::Format::Epoch. The only difference is the constructor. o new() Constructor of the formatter/parser object. It has no parameters. SUPPORT
Support for this module is provided via the datetime@perl.org email list. See http://lists.perl.org/ for more details. AUTHOR
Eugene van der Pijll <pijll@gmx.net> COPYRIGHT
Copyright (c) 2003 Eugene van der Pijll. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
DateTime datetime@perl.org mailing list perl v5.10.1 2007-12-03 DateTime::Format::Epoch::MacOS(3pm)