LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro
User Name
Password
LinuxQuestions.org Member Intro New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here.

Notices


Reply
  Search this Thread
Old 04-14-2016, 02:40 PM   #1
granjuanelo
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Rep: Reputation: Disabled
Smile Hello! Juanelo here. Kinda newbie but willing to learn as much as possible. First rookie question is on its way! xD


Hi guys,

I am Juanelo. Glad to be here and try to learn and share about Linux.

This is my first question, so maybe it's a very easy one. Please be kind with me xD

I got a VM with CentOS on it which has already some shell functions precharged on them, e.g. function1. I want to modify one of this functions because I need to add some environmental variables to it but I simply cannot find its location.

If I type "type function1" the shell shows me it is actually a function and I can see its definition so I guess it should be stored somewhere in the system. I tried to locate it by examining the directories defined in $PATH but unfortunately I cannot find it anywhere.

I guess the easiest way would be to copy all the definition into a new file, add the required variables and then copy it within one of the directories set on $PATH, but I would like to learn how to locate and edit it, in case it is hidden or something.

I would really appreciate any explanation on this and any help.

Thank you!
 
Old 04-14-2016, 03:51 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi Juanelo, welcome to the forum

Please note that this forum is for introductions only. Please re-post your request for help in the "Newbie" or another appropriate forum. Thanks!

Regards...
 
Old 04-15-2016, 05:29 PM   #3
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
Welcome to the forum.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kinda newbie... lol SCARHARDT LinuxQuestions.org Member Intro 1 05-14-2007 06:10 PM
Rookie Xen question? bobthehorrible Linux - Server 2 12-03-2006 05:46 PM
modem lights applet question from rookie klytu Linux - Software 14 03-21-2004 11:34 AM
hi, question of a rookie Killah Linux - Hardware 2 02-17-2004 02:10 PM
basic proftp questions - kinda works kinda don't case1984 Linux - Newbie 4 11-06-2003 12:29 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration