LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-27-2009, 11:57 AM   #1
mfduqued
Member
 
Registered: Dec 2008
Location: Colombia
Distribution: Slackware 12.2
Posts: 33
Blog Entries: 1

Rep: Reputation: 15
Autocomplete of Script


Community,
I am working with slack 12.2 and I want to ask I must make to create the script and after a change the permissions for execution by pressing the first letter me and tab auto complete script that generates, in addition and installed some programs and I have to enter the address where the complete script, and not carried out auto search script with this first letter and tab.

On the other hand you want to generate a script and wants to so anyone know where I wish to place him, through community.

Thank you and I am Sorry for my english
 
Old 06-27-2009, 12:02 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hi mfduqued,

I'm not sure that anyone will be able to figure out what it is exactly that you are asking.

I understand English is not your first language, and that's ok but please try to re-write your question in more simple terms. If possible, break it down into two questions.

Take your time, and re-read your question before posting to make sure it is what you want to ask. We'll then do our best to try and help you out!

Sasha
 
Old 06-27-2009, 12:22 PM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Hi mfduqued. If I understand it you want to have tab completion complete the name of a script of yours and then have it run. You also ask where to put it.

There are two things in question here. Firstly - to make a script (or program or something) executable do the following :
Code:
chmod +x myscript
It will then be executable and Bash will tab complete if it can find it. This means that the script should be in the current path. Find this out with :
Code:
echo $PATH
Moving the script to a directory in the path will make Bash tab complete for you. So moving this,( for example ), to /usr/local/bin and hitting tab "my" will tab complete mycript. This all depends on the setting of your PATH obviously.

Sorry for jumping in before you had chance to explain in better English but I thought I understood what you meant. Hope I was right !
 
Old 06-27-2009, 06:19 PM   #4
mfduqued
Member
 
Registered: Dec 2008
Location: Colombia
Distribution: Slackware 12.2
Posts: 33

Original Poster
Blog Entries: 1

Rep: Reputation: 15
I am sorry for my English, community my questions are:

1> How to I can change my path for that,
scripts at the sub directories in /usr/local
can to be auto complete when I write first letter.

2> How to I can change my path for that,
scripts at my home can to be auto complete when I write first letter and not write ./

Thank you
 
Old 06-27-2009, 06:20 PM   #5
mfduqued
Member
 
Registered: Dec 2008
Location: Colombia
Distribution: Slackware 12.2
Posts: 33

Original Poster
Blog Entries: 1

Rep: Reputation: 15
help me

Quote:
Originally Posted by GrapefruiTgirl View Post
Hi mfduqued,

I'm not sure that anyone will be able to figure out what it is exactly that you are asking.

I understand English is not your first language, and that's ok but please try to re-write your question in more simple terms. If possible, break it down into two questions.

Take your time, and re-read your question before posting to make sure it is what you want to ask. We'll then do our best to try and help you out!

Sasha
I am sorry for my English, Sasha my questions are:

1> How to I can change my path for that,
scripts at the sub directories in /usr/local
can to be auto complete when I write first letter.

2> How to I can change my path for that,
scripts at my home can to be auto complete when I write first letter and not write ./

Thank you
 
Old 06-27-2009, 08:02 PM   #6
mfduqued
Member
 
Registered: Dec 2008
Location: Colombia
Distribution: Slackware 12.2
Posts: 33

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Script of Seamonkey

Hi Community,

I copied the script of seamonkey to my $PATH (/usr/local/bin) but it result as

Cannot find SeaMonkey runtime directory. Exiting

Why,

Help me, thank you

Solved, I am in the directory /usr/local/bin

ln -s /usr/local/seamonkey/seamonkey seamonkey

Last edited by mfduqued; 06-27-2009 at 08:11 PM. Reason: Solved this question
 
Old 06-29-2009, 06:10 PM   #7
mfduqued
Member
 
Registered: Dec 2008
Location: Colombia
Distribution: Slackware 12.2
Posts: 33

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Community, this are solved at
http://www.unix.com/unix-dummies-que...c-profile.html
thank you for all
 
  


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
autocomplete option johnkalikavunkal Solaris / OpenSolaris 5 07-11-2008 05:07 AM
emacs-autocomplete skibud2 Programming 6 09-22-2003 08:27 AM
command - autocomplete ethanchic *BSD 8 04-26-2003 12:02 AM
autocomplete figadiablo Linux - General 6 03-13-2002 04:19 PM
autocomplete marksstroud Linux - Newbie 1 11-11-2001 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:27 PM.

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