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 »

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: 404
Joined: Thu Sep 13, 2007 7:01 pm
Location: Madrid, Spain
Contact:

Post by elhoir »

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

Post by SdC »

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: 404
Joined: Thu Sep 13, 2007 7:01 pm
Location: Madrid, Spain
Contact:

Post by elhoir »

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 »

or maybe just aliases
Indeed ...
manatails007
Posts: 96
Joined: Sat Jan 19, 2008 1:52 pm
Location: Crystal river

Post by manatails007 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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: Ahrefs [Bot] and 41 guests