[newbie] [OT] linux hosting in US

2001-05-31 Thread newbie-mandrake

I'm sorry for posting an Off-List topic.

Do you, by any chance, know a good linux hosting
company in US that will allow me setup our application
here and just send the hdd off to US?

Sherwin

p.s.
pls email me off-list.





Re: [newbie] Copy *.* to *.bak -- how?

2001-05-30 Thread newbie-mandrake

try something like

bash# for i in *; do cp $i $.bak; done

sherwin

[EMAIL PROTECTED] writes:
Dear friends:

Let's say I have the following files:

File1
File2
File3
etc.

Now, normally to make a backup copy of each, I would do the following:

cp File1 File1.bk
cp File2 File2.bk
cp File3 file3.bk
etc.

My question: Is there a SINGLE command that would allow me to create
backups 
for hundreds of files within a directory at one blow, that is, so as to 
create the series of backups above:

File1 File1.bk
File2 File2.bk
File3 file3.bk
etc.

In other words, is there a command that would allow me to do this all at
once 
from within a directory rather than manually copy each file one at a time?

Thanks so very much.






[newbie] rpm 4 macros

2001-05-25 Thread newbie-mandrake

Greetings!

I'm trying to rebuild postgresql-7.1.1-3mdk.src.rpm in LM72.
Suddenly, It just stop. I looked at the spec file and found out
that it was written in rpm 4 (using new macros). Too bad because
I only have rpm-3.0.5-27mdk.

Macros like %serverbuild.

Can somebody tell me where to find the definition of rpm 4 macros?
If I can just get my hands on LM80, I would execute rpm --eval
%name_of_macro.

Thanks for the time.

Sherwin





[newbie]

2001-05-04 Thread newbie-mandrake

thank you but this is not what i actually mean.

you can always, of course, type ...
kedit name_of_text_file
or
ark name_of_zip_file
in the terminal
to open the files associated to kedit or ark in X.

what i was looking for is a command in the terminal that will
spawn kedit , ark, or any  program according to the file association
of the file to be opened.

we'll if there is really none (i hope there is :),
i guess i have open KDE/FileBrowsing/File Associations,
do copy  paste and create a program for this.

Thanks!

Sherwin

[EMAIL PROTECTED] writes:
I believe that if your in a terminal that you can do
what you want to do, i.e. typing xchat will bring up
xchat, typing konqueror would bring that up.
--- newbie-mandrake [EMAIL PROTECTED]
wrote:
 Hi!
 
 Is there anything I can type in the commandline
 something like...
 
 # command any_file
 
 that will open the program (in X) associated to
 any_file?
 
 It is just like opening the konqueror and clicking
 any_file.
 
 TIA.
 
 Sherwin
 
 





[newbie] Re(2): open associated programs

2001-05-04 Thread newbie-mandrake

thank you but this is not what i actually mean.

you can always, of course, type ...
kedit name_of_text_file
or
ark name_of_zip_file
in the terminal
to open the files associated to kedit or ark in X.

what i was looking for is a command in the terminal that will
spawn kedit , ark, or any  program according to the file association
of the file to be opened.

we'll if there is really none (i hope there is :),
i guess i have open KDE/FileBrowsing/File Associations,
do copy  paste and create a program for this.

Thanks!

Sherwin

[EMAIL PROTECTED] writes:
I believe that if your in a terminal that you can do
what you want to do, i.e. typing xchat will bring up
xchat, typing konqueror would bring that up.
--- newbie-mandrake [EMAIL PROTECTED]
wrote:
 Hi!
 
 Is there anything I can type in the commandline
 something like...
 
 # command any_file
 
 that will open the program (in X) associated to
 any_file?
 
 It is just like opening the konqueror and clicking
 any_file.
 
 TIA.
 
 Sherwin