LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2006, 03:58 PM   #1
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 714
Blog Entries: 1

Rep: Reputation: 33
Post any ideas about these type of commands-- "_alias" underscore!


I just tried in my dapper typing a "_" underscore and double clicked the TAB button.it displayed below all commands:
Code:
prakash@dapper:~$ _
Display all 151 possibilities? (y or n)
_alias                         _lvresize
_apt_cache                     _lvs
_apt_get                       _lvscan
_aptitude                      _make
_args                          _man
_aspell                        _mkisofs
_aspell_dictionary             _modules
_available_interfaces          _mount
_bzip2                         _mplayer
_cancel                        _mplayer_options_list
_cardctl                       _nslookup
_cd                            _ntpdate
_cdrecord                      _ooexp_
_chgrp                         _openssl 
....................etc
what does these stands for anything like env variables
 
Old 03-23-2006, 04:58 PM   #2
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 714
Blog Entries: 1

Original Poster
Rep: Reputation: 33
Smile

A friend is claiming...These are all used in zsh. A "_" parameter is set in the environment of every command executed to the full pathname of the command. ie _alias means it is the environment variable for the command alias.
Is it true?

But...the thing is i only have bash and sh in my Dapper.then how does this comes...waiting for replies and resources..Thanks

Last edited by deepclutch; 03-23-2006 at 05:00 PM.
 
Old 03-25-2006, 03:43 AM   #3
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 714
Blog Entries: 1

Original Poster
Rep: Reputation: 33
Thumbs up

I got the solution.thanks to thinkdigit forums.posting here hoping it helpes someone:
"deepclutch, these _alias and things are shell functions which are activated if you are using Bash Autocompletion features, normally by uncommenting its entry in $HOME/.bashrc

Open your /etc/bash_completion file and you will find all the function's bodies defined there."
Thanks rag.i already enabled bash autocompletion in debian and ubuntu
Code:
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi
for fedora/RH you need to get bashcompletion rpm installed for full programmable completion bash.here is one link for your distro:
http://ftp.belnet.be/packages/dries.....rf.noarch.rpm
check atrmps.net,dries,livna,dag's,rpmfind,rpmforge repos for more updated rpms.
 
  


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
How to convert "string" type to "char * " in c++ pranavojha Programming 18 06-05-2008 04:10 PM
commands "init" and "modprobe" not working Diagmato Fedora 2 07-23-2005 12:44 AM
what is difference between "reset" and "clean " commands? zameer_india Linux - Newbie 2 01-10-2005 07:23 AM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 09:31 AM


All times are GMT -5. The time now is 11:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration