LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Reply
  Search this Thread
Old 10-26-2009, 07:43 AM   #1
ravidangaych
LQ Newbie
 
Registered: Apr 2009
Posts: 27

Rep: Reputation: 15
Question how to enable globbing


command
set -f
disables globbing.
If we restart the computer , globbing automatically enables.

Could you please tell me any command to enable globbing after using command "set -f" .
 
Old 10-26-2009, 08:19 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Buster (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
Use the command:

Code:
set +f
 
Old 10-26-2009, 11:11 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
It's all there in "man set"....

But, the man page says "pathname expansion"---is that the same as globbing in your context?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help With File Globbing jcofell Linux - Newbie 10 10-26-2009 09:22 PM
LXer: Bash Extended Globbing LXer Syndicated Linux News 0 10-09-2008 12:10 PM
Globbing using Korn Shell metallica1973 Programming 1 12-05-2007 05:56 PM
Globbing Problem in BASH Hink Programming 2 07-28-2005 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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