OT: unix newbie questions

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Sat Mar 25 12:59:50 CET 2006

Gerard Flanagan:
>* To create an empty __init__.py file I do 'vim __init__.py' then
>immediately exit vim, is there a shell or vim command which will create
>an empty file without opening the editor?

touch __init__.py

>* cd ~ brings me to my home directory, is there a means by which I can
>set up a similar alias for, say, /usr/local/www, so I can do: eg. cd ^
>to get to that directory?

You could create an alias in your shell.

René Pijlman

Wat wil jij leren?  http://www.leren.nl

More information about the Python-list mailing list