Sponsored Content
Full Discussion: Unix Terminal question
Special Forums UNIX Desktop Questions & Answers Unix Terminal question Post 302251043 by jim mcnamara on Friday 24th of October 2008 10:28:54 PM
Old 10-24-2008
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 11:34 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies

2. UNIX for Dummies Questions & Answers

Mac OS X/UNIX/Terminal Question

Hey everyone I'm new to UNIX due to the new Mac OS X operating system and would like some help. I'm trying to send an email via the UNIX-Shell-Terminal i Mac OS X, (it's called darwin) How do I do that? When I enter the Command mail I can send messages to root and with the command -forward... (4 Replies)
Discussion started by: onkel
4 Replies

3. UNIX for Dummies Questions & Answers

Unix terminal protocol

I need to accomodate terminals running off an NCR UNIX SCO server. I need the protocol so I can get the correct S/W image for the router. (3 Replies)
Discussion started by: de2934
3 Replies

4. AIX

Need a UNIX terminal to practice... please help!!!

Is there a web site that i can go to and practice my UNIX commands on their browser (terminal mode) or a telnet service that i can login to for free? I don't have a LINUX/UNIX system at home or at work, yet i want to hone my skils. Thanks for all of your help, (5 Replies)
Discussion started by: abhishek27
5 Replies

5. OS X (Apple)

Terminal Question...

I have a file I need to run in Terminal. On my friend's computer it shows up under Get Info as a Unix Executable File, but on my computer it shows it as a Document file and doesn't run in Terminal. It doesn't show a file extension either. I also have a .cmd file it also thinks is a document. both... (2 Replies)
Discussion started by: bobknob
2 Replies

6. UNIX for Dummies Questions & Answers

Dumb gnome terminal question.

I've searched and searched but either I'm not using the right key words or the information isn't in print anywhere. I'm running Cent 5.3 and I have a number of terminal profiles setup to ssh into some of my Unix servers at work, what I'm trying to do is setup shortcuts on my desktop to those... (3 Replies)
Discussion started by: nixnoob
3 Replies

7. UNIX for Advanced & Expert Users

A question about terminal

hi, I sealed a linux app in a pc as an embeded device.. I added several users in my linux system, of coz i am the root user...well, after i saled my products to customers, i want my products run like a embeded devices when they connect the system with terminals... i got a way out.. I want to bind... (4 Replies)
Discussion started by: macroideal
4 Replies

8. Shell Programming and Scripting

who command from non terminal in unix

I was executing a command "who -ms" from a CHUI application but i get below message, It seems that who command can be executed only when we are logged directly in unix box as we have terminal. Is there a way to get rid of this problem , or anyother command where i can get machine name of the... (4 Replies)
Discussion started by: lalitpct
4 Replies

9. Shell Programming and Scripting

How to get Unix terminal in windows

Hi, How to get unix look and feel in windows environment where i can execute basic commands like date and complex usage like awk, sed etc and not much storage space is needed. Is there any software that i can install to use the same? Thanks, (3 Replies)
Discussion started by: i.srini89
3 Replies
platform::shell(n)					       Tcl Bundled Packages						platform::shell(n)

__________________________________________________________________________________________________________________________________________________

NAME
platform::shell - System identification support code and utilities SYNOPSIS
package require platform::shell ?1.1.4? platform::shell::generic shell platform::shell::identify shell platform::shell::platform shell _________________________________________________________________ DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell. This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only requirement is that the other shell (identified by its path), is actually executable on the current machine. While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run 32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers. For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed packages, versus the architecture of the shell running the repository software. COMMANDS
platform::shell::identify shell This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell. platform::shell::generic shell This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell. platform::shell::platform shell This command returns the contents of tcl_platform(platform) for the specified Tcl shell. KEYWORDS
operating system, cpu architecture, platform, architecture platform::shell 1.1.4 platform::shell(n)
All times are GMT -4. The time now is 09:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy