The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help: Terminal Emulation for SCO Unix... fasal SCO 9 05-23-2005 05:12 AM
Need Someone With Access To Unix Terminal rdm UNIX for Dummies Questions & Answers 4 08-11-2003 04:30 PM
Unix terminal protocol de2934 UNIX for Dummies Questions & Answers 3 07-13-2002 05:50 AM
Mac OS X/UNIX/Terminal Question onkel UNIX for Dummies Questions & Answers 4 03-05-2002 03:38 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 03:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-24-2008
Kcahintosh19 Kcahintosh19 is offline
Registered User
  
 

Join Date: Oct 2008
Location: Chicago
Posts: 1
Unix Terminal question

Hi, I'm new here, but I have a quick small question. I'm sorry if it sounds stupid, but I'm new to the UNIX world after using VMS (or Windows) my entire life. I my Mac runs Leopard, and I was wondering;

My friend me through Mac's "Terminal" you can create and program your own applications by just using the UNIX codes and just in Terminal. Is this true? If it is not, what kind of program or application would I need to make any kind of application?

Thanks in advance.
  #2 (permalink)  
Old 10-24-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,715
Yes, UNIX was written in C in a terminal to start with.

While UNIX is "native" C at the core, you can develop useful small to medium applications with Unix tools called from inside shell scripts or one line commands - from the terminal. shell == DCL, except what you can do in UNIX is an extreme superset of that because of tools like awk grep and sed. Entire applications are written in shell. There are also a lot of interpreted languages that let you do things like develop modest db apps in shell or performs extended precision calculations <- examples.

DCL is verbose; shell cryptic and terse... It is possible to write one line of code that does what 20 lines of DCL might do. And a lot harder for beginners to read.

The one thing you will have to learn is regular expressions to get the most out of unix tools. Another concept is processes. Unix creates lots of child processes, sometimes each command is a separate child. This affects variable scope.

Your default shell is probably bash - consider googling for 'Advanced bash guide' and see how you fare with it. Assuming you were okay with DCL.

Last edited by jim mcnamara; 10-24-2008 at 10:34 PM..
  #3 (permalink)  
Old 05-21-2009
SilversleevesX SilversleevesX is offline
Registered User
  
 

Join Date: May 2009
Location: Northeast USA
Posts: 48
Quote:
Originally Posted by Kcahintosh19 View Post
Hi, I'm new here, but I have a quick small question. I'm sorry if it sounds stupid, but I'm new to the UNIX world after using VMS (or Windows) my entire life. I my Mac runs Leopard, and I was wondering;

My friend me through Mac's "Terminal" you can create and program your own applications by just using the UNIX codes and just in Terminal. Is this true? If it is not, what kind of program or application would I need to make any kind of application?

Thanks in advance.
A little advice from someone who owned two OS X-capable Macs and used all the powerful extras he could on both:

OS X Developer Tools, free from Apple (you just have to sign up to their Developer Community, also free) enhances what Terminal can do in terms of compiling and testing programs created with its own resident utilities. Apple's X11 extends those bounds considerably more. If you bought your Mac new or refurb from an authorized Apple reseller, CDs with those packages on them should have come with it. If not, and your Mac happens to burn CDs/DVDs (most do nowadays), then you can download the necessary disk images direct from Apple. Just Google for Developer Tools for Leopard and Mac OS X X11 for Leopard, and look for links where the URLs happen to have either "www.apple.com" or "developer.apple.com" at the beginning.

Twelve years of Mac home use comes in handy sometimes.

BZT
Sponsored Links
Bits Awarded / Charged to SilversleevesX for this Post
Date User Comment Amount
05-21-2009 Neo Good reply. 1,000
Closed Thread

Bookmarks

Tags
learn unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0