LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 09-26-2005, 07:44 AM   #1
Asadullah Rathore
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Regarding function Autoloading


Dear All,
I have a case where if i create a function in ksh say
function tester
{
echo "Hello"
}
and I want to load this function on the environment so that the next time whenever I type in tester on the prompt it displays the output attributes of the function as in like a binary.(Say cat , man).
Even if i have the word in a sample file and if i execute say ./sample(If the random file name is sample).
It should output hello.
What is the solution
 
Old 09-26-2005, 09:46 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Continue here
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding function autoloading Asadullah Rathore Programming 2 09-26-2005 08:36 AM
Autoloading ipw2200 1.0.4 Snyke Linux - Software 0 06-25-2005 06:20 AM
Autoloading of Modules CooManChu Linux - General 2 01-20-2005 02:11 PM
autoloading dependent modules saajii Programming 1 09-15-2004 12:04 AM
Autoloading modules Rotten Deadite Linux - Newbie 3 03-25-2002 05:19 PM


All times are GMT -5. The time now is 11:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration