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 > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
please explain the below mail2sant Shell Programming and Scripting 1 04-04-2008 08:04 AM
explain plz avikal Shell Programming and Scripting 2 04-03-2008 11:11 AM
Can someone explain a bubble sort in Krn script to me? bluesilo Shell Programming and Scripting 5 03-02-2008 07:35 PM
explain me this shell script ... zedex Shell Programming and Scripting 1 11-21-2007 05:06 AM
Can anyone explain plz r_W213 UNIX for Advanced & Expert Users 3 03-27-2007 04:52 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-15-2004
ykchua ykchua is offline
Registered User
  
 

Join Date: Jul 2004
Posts: 1
need help to explain script

dear all,

can anyone help me to explain all the commands in the .profile bourne shell below ? really appreciate ur help. PLEASE.

1
2 # @(#) $Revision: 72.2 $
3
4 # Default user .profile file (/usr/bin/sh initialization).
5
6 # Set up the terminal:
7 if [ "$TERM" = "" ]
8 then
9 eval ` tset -s -Q -m ':?hp' `
10 else
11 eval ` tset -s -Q `
12 fi
13 stty erase "^H" kill "^U" intr "^C" eof "^D"
14 stty hupcl ixon ixoff
15 tabs
16
17 # Set up the search paths:
18 PATH=$PATH:.
19
20 # Set up the shell environment:
21 set -u
22 trap "echo 'logout'" 0
23
24 # Set up the shell variables:
25 EDITOR=vi
26 export EDITOR
27
28 mesg -n
29 PS1="$"
 

Bookmarks

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 05:18 AM.


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