LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Shell paths (https://www.linuxquestions.org/questions/linux-general-1/shell-paths-96674/)

Manny88 09-25-2003 05:55 AM

Shell paths
 
Ok. This might be a little too broad, but I'm goign to try to give it best I can.

1. Where can I locate a nice source of information regarding how to alter PATHS ect. ect.

2. What would you personally recommend to use to learn bash shell scripting. I'm really looking for something that has a good start for the most basic beginner. I would really like for it to be an online tutorial because I'm really getting sketchy on money after buying all these books.

kev82 09-25-2003 06:28 AM

1) export PATH=

2) there is a load of bash scripting stuff on tldp.org but i think most of its quite advanced.

i would recommend the rute users guide for generally using linux, i think it covers shell scripting, its in my bookmarks or google it.

Skyline 09-25-2003 09:57 AM

Suppose you wanted to add /home/manny/progs to your PATH - then

PATH=$PATH:/home/manny/progs

export PATH

You can check out your current PATH with:

echo $PATH

unSpawn 09-25-2003 09:59 AM

...and here's some other online docs:
Introduction to BASH shell scripting: http://www.linuxorbit.com/modules.ph...icle&artid=459
A Quick Introduction to Bash Programming: http://www.geocities.com/tipsforlinu...cles2/043.html
A's to Q's about BASH, the Bourne-Again SHell: http://apodeline.free.fr/FAQ/bashFAQ/bash.html
BASH Programming - Introduction HOW-TO: http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html

Advanced Bash Scripting Guide (ABS): http://www.tldp.org/LDP/abs/html/

Shell script resources:
Heiner's SHELLdorado: http://www.shelldorado.com
Linuxguru's shell script resources: http://www.linuxguruz.org/z.php?id=911


All times are GMT -5. The time now is 01:35 PM.