Understanding UNIX/Linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Understanding UNIX/Linux
# 1  
Old 04-02-2009
Understanding UNIX/Linux

Hello:

I'm a totally newbie here. My company has UNIX. My development team would like me to learn UNIX and shell scripting.

I've worked with Linux in the past, very briefly. I have Ubuntu installed on my laptop. I was wondering whether or not the shell scripting for Linux is the same for UNIX. Lately, I've used the BASH shell. The scripts I wrote using BASH in Linux, can they be used in UNIX?

What is the difference between UNIX and Linux?
Can I do the same shell scripting in either UNIX or Linux?

Do I have to install UNIX in order to run the shell scripts that I would need at work?

Can someone point me in the right direction?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

VIP Membership - The UNIX and Linux Forums - Get Your UNIX.COM Email Address Here

We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies

2. Shell Programming and Scripting

Assistance understanding a UNIX script

Hello, If I could get some assistance breaking down this Unix script in order to better understand it. A co-worker wrote this script and is no longer with us. I believe this script converts documents into .txt files, but we are trying to edit it so that it converts documents to .pdf automatically... (1 Reply)
Discussion started by: B00GS
1 Replies

3. UNIX for Beginners Questions & Answers

Need little help in understanding UNIX file system.

statement 1 : I see everyone saying Unix follows a tree like hierarchial structure. Statement 2: Unix file system has four blocks 1.boot block 2.super block 3.inodes 4.data block My question is , in which of the above four blocks , the hierarchial structure comes.?? How could we corelate... (2 Replies)
Discussion started by: Narendra Eliset
2 Replies

4. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

5. Ubuntu

Suggest books for understanding Ubuntu Linux

recommend books to understand ubuntu ...... (14 Replies)
Discussion started by: vyom
14 Replies

6. Shell Programming and Scripting

help on understanding this script ( linux)

ORACLE_HOME=/opt/ora10g/oracle/product/10.2.0/db_1;export ORACLE_HOME PATH=.:$ORACLE_HOME/bin:/usr/bin;export PATH ORACLE_SID=USUP PASS=Figomom#0;export PASS rm /orabkup/USUP/*.Z if ] then echo $PASS | sqlplus system@USUP @/home/ora10g/crons/scripts/hot.sql echo $PASS | sqlplus... (5 Replies)
Discussion started by: redologger
5 Replies

7. Programming

Understanding Linux Kernel

Hi, I have started reading about Linux kernel. The books also explains about the source code here and there. I found a file named head.s in the source which i am not able to understand, it looks like some assembly language. Can anyone confirm this, so that can start looking for assemble... (3 Replies)
Discussion started by: kumaran_5555
3 Replies

8. UNIX for Dummies Questions & Answers

Really understanding Linux/Unix-Derivatives

Hi I've been using Linux (Ubuntu) specifically for about 5 years now and been dabbling with nix for a couple more. I really am worried that with the way distro's are going and package management that i'm starting to loose touch with compiling applications and really understanding how they work.... (4 Replies)
Discussion started by: shitson
4 Replies

9. UNIX for Dummies Questions & Answers

am a newbie to unix. plz help in understanding this code.

hi everybody. please help me in understanding this code. echo "************* starting job on `date +\"%d/%m/%Y at %T\"` **************" # scriptdir=`dirname $0` . ${scriptdir}/env_params.sh # SHLIB_PATH=${ORACLE_HOME}/lib: export SHLIB_PATH export... (1 Reply)
Discussion started by: gokulj
1 Replies

10. UNIX for Dummies Questions & Answers

Need Help Understanding a Unix Command

Trying to install something. Can someone explain what this means? chmod -R a+r . chmod -R a+w logo.gif tempdir/ templates_c/ I recognize that file permissions are being changed (chmod), but beyond that, it's Greek to me. (6 Replies)
Discussion started by: chris86
6 Replies
Login or Register to Ask a Question
standards(5)							File Formats Manual						      standards(5)

NAME
standards - UNIX standards behavior on HP-UX DESCRIPTION
HP-UX conforms to various UNIX standards. In some cases, these standards conflict. This manpage describes the methods that programmers and users must follow to have an application conform and execute according to a particular UNIX standard. UNIX Standard Conformant Programmer Environment The following table lists feature test macros and environment variables that must be defined while compiling an application. Both a fea- ture test macro and an environment variable must be defined while compiling the application so that the application conforms and executes according to a particular UNIX standard. Otherwise, the behavior is undefined. Standard Feature Test Macros to be Environment variable defined during compilation to be set UNIX 95 _XOPEN_SOURCE_EXTENDED=1 UNIX95 or UNIX_STD=95 or UNIX_STD=1995 UNIX 2003 _XOPEN_SOURCE=600 UNIX_STD=2003 The compiler uses the feature test macros to obtain the appropriate namespace from the header files. The compiler uses the environment variable to link in an appropriate object file to the executable. Using the environment variable customizes libc to match UNIX standards for various functions. If an application has already been compiled for default HP-UX behavior or for one particular standard, and needs to change to a particular UNIX standard behavior, recompile the application as specified in the above table. For an HP-UX command to conform to a particular UNIX standard behavior, the application has to set the corresponding environment variable as specified in the above table before executing that command. UNIX Standard Conformant User Environment To enable a particular UNIX standard conformant user environment, set the corresponding environment variable as defined in the above table. EXAMPLES
The following examples shows an application example. To have the system be conformant to UNIX2003 behavior, set the environment variable to and define the feature test macro before compilation. The following example changes the command to have UNIX95 behavior by setting one of the environment variables to or to before executing that command. There are three ways of setting the environment variable for UNIX95: or or SEE ALSO
cc(1), stdsyms(5). standards(5)