Visit Our UNIX and Linux User Community


General Terminology related to the UNIX System


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers General Terminology related to the UNIX System
# 1  
Old 10-20-2009
General Terminology related to the UNIX System

Hello,

I am relatively new to the world of programming in general and to the UNIX System in particular. I have a bunch of theoretical questions related to terminology which I have come across in my coursebooks. I hope I post my question at the right place. Any help would be warmly welcome!

Shell variables-

In my coursebook shells in general are divided into 2 different types:
Environment and Shell variables. I find it hard to understand the idea behind each type of shell as well as the difference between the two types.
Secondly, the term exporting a shell is used several times and I cannot really understand the meaning of Exporting.

Thanks once again!
# 2  
Old 10-20-2009
There is no idea behind a shell but a developper (Bourne, Korn etc...)
the true shell at the beginning was sh, but some people wanted more... so the differences are in functionalities...
But they all have in common what is known as environment and shell variables

---------- Post updated at 19:27 ---------- Previous update was at 19:24 ----------

Your environment is what you see when you type env
The variables that are set here follow the format:
VARIABLE-NAME=value

---------- Post updated at 19:32 ---------- Previous update was at 19:27 ----------

about export, look:
Code:
# check the is no variable TITI beeing used...
ant:/home/vbe $ echo $TITI

ant:/home/vbe $ TITI=toto
ant:/home/vbe $ echo $TITI
toto
ant:/home/vbe $ sh
ant:/home/vbe $ echo $TITI

ant:/home/vbe $ exit
ant:/home/vbe $ echo $TITI
toto
ant:/home/vbe $

 

Previous Thread | Next Thread
Test Your Knowledge in Computers #187
Difficulty: Easy
The UNIX.com man page repository contains over 340,000 man page entries from both UNIX and Linux distributions.
True or False?

8 More Discussions You Might Find Interesting

1. Red Hat

General questions related to patching and servers

Hi, Can you answer the following ? How to identify server is physical or virtual server ? Why often patching is done in servers ?What is the purpose of doing OS patching in servers. ? Regards, Maddy (5 Replies)
Discussion started by: Maddy123
5 Replies

2. Red Hat

System Admin related document with example

Hi, I am looking for perfect document.which is covered all the admin role with examples..... --> Please say that "search in google"...... Can you please help on this.... Thanks & Regards, Mani (3 Replies)
Discussion started by: Mani_apr08
3 Replies

3. Shell Programming and Scripting

need downloading related help...but its not related to unix

Hi All, I am trying to dowmload the zip file "zkManageCustomers.zip " but i dont have access. Can anyone help me to download this file See the below link- http://www.ibm.com/developerworks/opensource/library/wa-aj-open/index.html?ca=drs- Please help me as early as... (1 Reply)
Discussion started by: aish11
1 Replies

4. Shell Programming and Scripting

General UNIX Query

Hi all, I am having putty in my system.But I dont have access to any UNIX Servers.Is there any default or common UNIX Server so that anyone can access and be familiar with UNIX and Shell scripting. I want to work and practice in UNIX..Thats why I am asking this question. Kindly give me... (2 Replies)
Discussion started by: dave_nithis
2 Replies

5. Shell Programming and Scripting

system general information

hi I am new to this forum. hope to get help from u all. how can i write these by using shell programming? 1. The name of the machine and the date/time at which the report was produced. 2. Licensing information such as the operating system revision level and license restrictions in terms of... (1 Reply)
Discussion started by: nokia1100
1 Replies

6. UNIX for Advanced & Expert Users

General Unix Questions !!

1. How do we know what is my machine name and what is its IP address? (in Solaris) 2. If i want to know the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris) then what command i have to look. (5 Replies)
Discussion started by: dreams5617
5 Replies

7. UNIX for Dummies Questions & Answers

How do I find out general system info?

How can I find out what type of processor, and speed, along with memory info such as RAM and storage. Also how do I scrollup on the shell? (2 Replies)
Discussion started by: AllyJones
2 Replies

8. UNIX for Dummies Questions & Answers

Looking for a general purpose System Monitor

Does anyone have any scripts or suggestions on a general purpose Unix/Linux monitoring tool? (5 Replies)
Discussion started by: darthur
5 Replies

Featured Tech Videos