Home Man
Search
Today's Posts
Register

Open source oftware (OSS) is computer software with source code available with a license. The OSS copyright holder provides anyone the rights to read, modify, and distribute the software for any purpose.

The Terminal on Mac OS X

Tags
#cmdterminalcommands, terminal

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 02-24-2015
The Terminal on Mac OS X

Does anyone know the differences in commands when it come to Linux and Mac OS X? I'm wanting to know if I use "this" command in Linux and It doesn't work in Mac then what command is equivalent to the one in Linux. Example Ctrl+Alt+f2 switches to (tty2) so what equivalent switches to ttys2 on Mac?
# 2  
Old 02-25-2015
There is no equivalent. End of story...

OSX is not Linux.

If you require another terminal then use cmd n and open up another one, only if a terminal is already running and has the focus.

Unix commands are broadly similar but there are subtleties that will work on one system but not the other.

Hope this helps...
# 3  
Old 02-25-2015
So I know that OS X is based off UNIX(BSD)

What I'm looking for is something like this. (Look at attachment)

I understand that some Linux commands won't work but there are Equal commands, they may not be the same commands but the commands do the same thing
# 4  
Old 03-03-2015
I think you will not find a translator like what you're looking for.
This might help you understand why (expounding on wisecracker's post above):
what's the difference between linux and unix commands? - Stack Overflow
Some judicious use of "man -k" or "apropos" can help you locate the functionality in commands you might want to utilize, should a command found in Linux not be available in another Unix OS.
Of course, if you have the time, you could create the translator you are looking for.
The Following User Says Thank You to [MA]Flying_Meat For This Useful Post:
1negroup (03-21-2015)
# 5  
Old 03-28-2015
Configure, Make, and Make Install

I need some Help with this, I'm trying to install Recordmydesktop via tar. Im not sure whats going on but I'm having trouble executing the command make and make install. This is what i have gotten

Code:
ONEs-MacBook-Air:recordmydesktop-0.3.8.1 1negroup$ sudo make
make: *** No targets specified and no makefile found.  Stop.
ONEs-MacBook-Air:recordmydesktop-0.3.8.1 1negroup$ sudo make install
make: Nothing to be done for `install'.
ONEs-MacBook-Air:recordmydesktop-0.3.8.1 1negroup$ sudo makefile
Password:
sudo: makefile: command not found
ONEs-MacBook-Air:recordmydesktop-0.3.8.1 1negroup$

Here is everything else. Just to let you know I executed ./configure first

ONEs-MacBook-Air:recordmydesktop-0.3.8.1 1negroup$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i386-apple-darwin13.3.0
checking host system type... i386-apple-darwin13.3.0
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for X... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking vorbis/vorbisfile.h usability... no
checking vorbis/vorbisfile.h presence... no
checking for vorbis/vorbisfile.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for isnan in -lm... yes
checking for deflate in -lz... yes
checking for IceOpenConnection in -lICE... no
configure: error: Can't find libICE
ONEs-MacBook-Air:recordmydesktop-0.3.8.1 1negroup$

# 6  
Old 03-28-2015
Quote:
Originally Posted by 1negroup
So I know that OS X is based off UNIX(BSD)
Uh.. yes and no. The programs and utilities are BSD-ish...so somebody comfortable with a BSD variant will have no problem. However it is *not* BSD... if for no other reason than it uses a Mach based kernel.

So...is it BSD +... no. It's close to that though.

It feels like BSD mostly, but with some differences and has some GNU-isms here and there. And of course a lot of very unique Apple-only things (some of which do *not* work that well).
# 7  
Old 03-28-2015
Try using:

Code:
./configure PREFIX=/usr

Replace /usr with the apropriate path for/on MaxOS.
Then make [install] should work fine.

No promises made,
hth
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Print Terminal Output Exactly how it Appears in the Terminal to a New Text File mrm5102 Shell Programming and Scripting 7 04-11-2016 06:44 PM
Cannot get terminal application to launch with a graphical launcher when successful in terminal Huitzilopochtli Shell Programming and Scripting 16 02-17-2016 07:11 PM
A terminal controlling a terminal... wisecracker UNIX for Dummies Questions & Answers 4 04-03-2013 02:13 AM
Does DOS has a terminal or pseudo terminal? vistastar UNIX for Dummies Questions & Answers 1 10-17-2011 10:25 AM
Gnuplot wxt terminal vs x11 terminal cosmologist UNIX for Dummies Questions & Answers 0 06-27-2009 07:39 AM
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 08-04-2008 10:29 AM
Terminal Jono_H UNIX for Dummies Questions & Answers 10 06-23-2007 10:59 AM
like to have fun in terminal collins UNIX for Advanced & Expert Users 4 10-14-2004 05:28 PM
Terminal dilshik AIX 5 03-26-2004 03:10 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 02:32 PM


All times are GMT -4. The time now is 04:41 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password