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
XMLSTARLET(1)							 xmlstarlet Manual						     XMLSTARLET(1)

NAME
xmlstarlet - command line XML/XSLT toolkit SYNOPSIS
xmlstarlet [<options>] [<command>] [<cmd-options>] INTRODUCTION
XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files us- ing simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands. This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for auto- mated XML processing with shell scripts. OPTIONS
--version Display the version of xmlstarlet. --help Display help. COMMANDS
Type: xmlstarlet <command> --help <ENTER> for command help Available commands include: ed (or edit) Edit/update XML document(s). sel (or select) Select data or query XML document(s) (XPATH, etc). tr (or transform) Transform XML documents(s) using XSLT. val (or validate) Validate XML document(s) (well-formed/DTD/XSD/RelaxNG). fo (or format) Format XML document(s). el (or elements) Display element structure of XML document. c14n (or canonic) XML canonicalization. ls (or list) List directory as XML. esc (or escape) Escape special XML characters. unesc (or unescape) Unescape special XML characters. pyx (or xmln) Convert XML into PYX format (based on ESIS - ISO 8879). p2x (or depyx) Convert PYX into XML. REFERENCES
XMLStarlet is a command line toolkit to query/edit/check/transform XML documents (for more information see http://xmlstar.source- forge.net/). AUTHOR
Mikhail Grushinskiy. XMLSTARLET(1)
All times are GMT -4. The time now is 08:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy