Click to See Complete Forum and Search --> : OS questions


hometown
September 30th, 2003, 10:57 AM
As a new comer in the field of computer, I do not know what these commands are used for and under what environment ?
It seems like Uniks right ? If so, is this Shell command be used under other OS especially DOS ? Because I know little about DOS, I dont know Uniks at all....
Could you help me ?:(
Shell> alias -d myguid
Shell> alias
dir : ls
md : mkdir
rd : rm
del : rm
copy : cp

Regards,
-Hometown

Mick
September 30th, 2003, 11:29 AM
Originally posted by hometown
As a new comer in the field of computer, I do not know what these commands are used for and under what environment ?
It seems like Uniks right ? If so, is this Shell command be used under other OS especially DOS ? Because I know little about DOS, I dont know Uniks at all....
Could you help me ?:(
Shell> alias -d myguid
Shell> alias
dir : ls
md : mkdir
rd : rm
del : rm
copy : cp

Regards,
-Hometown

it kinda depends, for example, I use ported UN*X utilities under windows, that is (ls) is a UN*X command, but I use the ported windows version since I grew up in a UN*X world....

hometown
September 30th, 2003, 12:03 PM
Originally posted by Mick_2002
it kinda depends, for example, I use ported UN*X utilities under windows, that is (ls) is a UN*X command, but I use the ported windows version since I grew up in a UN*X world....
Thanks for that input...
I dont understand...could you be a little more elaborate on that ?

Regards,
-Nina

Mick
September 30th, 2003, 12:31 PM
Shell> alias -d myguid
Shell> alias
dir : ls
md : mkdir
rd : rm
del : rm
copy : cp


ok, for windows, open up a command prompt ->cmd.exe from run.

Type:

dir /?
md /?
rd /?
del /?
copy /?

or just plain: Help to get the list of commands, or help copy, help del etc...
this will explain the console commands for windows for you.

Alias is a UN*X shell command that lets you alias something like cd \usr\local\bin
to something like goloc
so when you type goloc your alias translates it to cd \usr\local\bin


ls/mkdir/rm/cp are the UN*X shell equivalents... of the above windows commands etc...

If you would stop using the GUI for everything and start using the console prompt you'd get a better understanding ;)

hometown
September 30th, 2003, 01:02 PM
Thank you very much for your advice and explanation...
I amnot a computer scientist....That s why I dont know much about OSes and programming like you and all the people on boards...

Once again, I appreciate your help...

Regards,
-Nina

Mick
September 30th, 2003, 01:33 PM
Originally posted by hometown
Thank you very much for your advice and explanation...
I amnot a computer scientist....That s why I dont know much about OSes and programming like you and all the people on boards...

Once again, I appreciate your help...

Regards,
-Nina

I'm not a computer scientist either homey ;) And you gain knowledge by asking, or reading or doing, as you have done ;)