Hi Govi,

On 10/30/2009 12:19 PM, Govi wrote:
Hi Friends,

I am using ~ symbol for before username  on users home directories.

e.g
ls ~user1/ instead of  ls /home/user1

i want to know which one is the configuration file specified "~" sysbol


This is not configurable (at least not without recompiling bash :)). This is a feature of the shell itself. Do a "info bash" and search for "Tilde Expansion" to learn more.

also i want to use
ls user1 instead of ls ~user1

If that were implemented, consider this case ...

$ ls pony

...how is the shell supposed to figure out whether you meant to list the file or directory in the current directory which is named pony or look up whether the user pony exists and list that users home directory ?


cheers,
- steve

--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to