Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> File Includes In Linux?
dmilks
post Nov 16 2004, 12:43 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 16-November 04
Member No.: 4,183



Hi. I'm wondering if you can do file includes in Linux. For example, say I have 2 files, A and B.

A looks like:

VAR1=""
#get contents of file B
ECHO $VAR1

B looks like:

VAR1="Hello World"

Is there a way to do this so that when file A is executed, the output will be "Hello World"?

Thanks!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2017 - 02:51 AM