commands

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
manatails007
Posts: 96
Joined: Sat Jan 19, 2008 1:52 pm
Location: Crystal river

commands

Post by manatails007 » Thu Apr 17, 2008 9:29 am

sometimes I feel confused when I work with DOS and Linux at the same time.

I sometimes type ls, cp, rm in DOS and
I sometimes type dir, copy, del in Linux

It's very confusing :roll: I think it will be good if ReactOS uses both of commands :wink:

elhoir
Test Team
Posts: 397
Joined: Thu Sep 13, 2007 7:01 pm
Location: Madrid, Spain
Contact:

Post by elhoir » Thu Apr 17, 2008 9:52 am

or maybe just aliases

SdC
Posts: 190
Joined: Thu Jan 24, 2008 3:52 pm
Location: GMT +1

Post by SdC » Thu Apr 17, 2008 10:42 am

I don't see why; these are different worlds. There are no English road signs in Russia are there?
even if you alias the commands, the parameters would still be different.

elhoir
Test Team
Posts: 397
Joined: Thu Sep 13, 2007 7:01 pm
Location: Madrid, Spain
Contact:

Post by elhoir » Thu Apr 17, 2008 12:21 pm

SdC wrote: even if you alias the commands, the parameters would still be different.
I agree with you, i didn´t notice it

BOT_ev
Posts: 140
Joined: Fri Nov 26, 2004 11:48 pm
Location: Sofia, Bulgaria

Post by BOT_ev » Thu Apr 17, 2008 12:22 pm

or maybe just aliases
Indeed ...

manatails007
Posts: 96
Joined: Sat Jan 19, 2008 1:52 pm
Location: Crystal river

Post by manatails007 » Fri Apr 18, 2008 5:47 am

SdC wrote:I don't see why; these are different worlds. There are no English road signs in Russia are there?
even if you alias the commands, the parameters would still be different.
you're right but we dont use parameters very much.

I think just aliases will be ok

SdC
Posts: 190
Joined: Thu Jan 24, 2008 3:52 pm
Location: GMT +1

Post by SdC » Fri Apr 18, 2008 9:18 am

manatails007 wrote: you're right but we dont use parameters very much.

I think just aliases will be ok
"we"?
I do A LOT in Windows and *nix from a command line and do I use parameters A LOT. I think it would be ridiculous to have an 'ls' command available in windows if it doesn't behave exactly the same as in Unix.

z180
Posts: 197
Joined: Sat Mar 10, 2007 7:58 pm

Post by z180 » Fri Apr 18, 2008 8:12 pm

I recommend cygwin.I did some work like recompiling linux packets
converted by the alien script.

SdC
Posts: 190
Joined: Thu Jan 24, 2008 3:52 pm
Location: GMT +1

Post by SdC » Fri Apr 18, 2008 8:45 pm

z180 wrote:I recommend cygwin.I did some work like recompiling linux packets
converted by the alien script.
exactly.

raketenfred
Posts: 95
Joined: Sun Sep 16, 2007 9:12 pm

Post by raketenfred » Fri Apr 18, 2008 10:22 pm

I think that should be something you can install later, you can make your programms that can do this jobs with the names:

//C++:
#define command "xy"
int main(char* args[])//not sure!
{
system(command+args);//+args correct??!!
return 0;
}

mfg

rf

Carlo Bramix
Posts: 282
Joined: Thu Jan 04, 2007 12:43 am
Location: Italy

Post by Carlo Bramix » Fri Apr 18, 2008 11:28 pm

SdC wrote:
z180 wrote:I recommend cygwin.I did some work like recompiling linux packets
converted by the alien script.
exactly.
Or, alternatively, you can get mingw utils, unpack the archive somewhere and include them into your %PATH%.

Sincerely,

Carlo Bramini

cppm
Posts: 289
Joined: Wed May 02, 2007 10:03 pm

Post by cppm » Sat Apr 19, 2008 9:00 pm

basically, it's a solved problem :wink:

and Ros isn't in the business of duplicating other perfectly good open source solutions (one hopes) just Microsofts closed source solutions - in this case: the dir, copy, delete commands etc

etko
Posts: 154
Joined: Thu May 26, 2005 3:43 am
Location: Slovakia
Contact:

Post by etko » Mon Apr 21, 2008 5:55 pm

What about 4DOS NT equivalent 4NT (I guess)? It had some useful feats.

nitrofurano
Posts: 21
Joined: Mon Dec 06, 2004 7:16 pm
Contact:

Re: commands

Post by nitrofurano » Wed Jul 02, 2008 6:53 pm

a question: what is similar to dos command this linux one?

Code: Select all

cat text.txt | grep something > result.txt

Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Re: commands

Post by Haos » Thu Jul 03, 2008 1:22 pm

MS DOS? None i can remember

If you mean NT command shell, then:

Code: Select all

find "something" [patch]text.txt > result.txt

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest