The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
running db2 sql and exporting output from ksh scipt candlino Shell Programming and Scripting 0 03-12-2008 07:29 AM
scipt dividing strings /reg expr maco_home UNIX for Dummies Questions & Answers 3 08-30-2007 06:39 AM
Finding out process id in a scipt vibhor_agarwali UNIX for Dummies Questions & Answers 2 04-12-2007 05:30 AM
SED scipt help - line extraction thuston22 Shell Programming and Scripting 10 03-24-2006 03:11 PM
Scipt to do login rahulrathod Shell Programming and Scripting 1 10-05-2004 01:29 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 08-08-2008
Registered User
 

Join Date: Aug 2008
Posts: 1
UNIX/MS-DOs scipt

Is any one who know a good tutorial for Unix bash script and Ms-Dos scipt??
if yes, if is possible to upload it or give me the link???

What is the difference betwwen uvix and ms-dos script??
Reply With Quote
Forum Sponsor
  #2  
Old 08-08-2008
Ikon's Avatar
Registered User
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 350
Short answer: They are 2 different operating systems that use different Syntax and Commands


Long Answer:

Back in the days before Microsoft Windows dominated the PC market, operating system were controlled by commands. Prior to MS-Windows, PC users were required to learn these commands in order to perform routine tasks. During the 1980s, Microsoft DOS dominated the PC market while the early UNIX command systems were used on larger multi-processing servers.

The main difference between UNIX and DOS is that DOS was originally designed for single-user systems, while UNIX was designed for systems with many users.


Because UNIX and MS-DOS were developed at the same time they share some common syntax, and the UNIX admin will be happy to find many common commands and concepts. The list below shows some of the commonality between UNIX and MS-DOS commands:

*

Changing directories: both DOS and UNIX utilize the cd commands for this purpose, but UNIX has the "cd " command that allows you to flip-flop between your last two directories.

Display file contents: UNIX has the "cat" command" and DOS uses the "type" command.

Setting file permissions: DOS uses the "attrib" command while UNIX uses the "chmod" command to change file permissions.

Copying files: DOS uses the "copy" command, while UNIX uses the "cp" command.

Comparing two files: UNIX uses the "diff" command and DOS has the "fc" command.

Printing files: UNIX uses the "lp" command while DOS uses the "print" command.

Moving files: DOS uses the "rename" command and UNIX uses the "mv" command.

Make a directory: UNIX uses the "mkdir" command while DOS has the "md" command.

Display directory contents: UNIX uses the "ls" command and DOS has the "dir" command.

Delete files: DOS uses the "del" command while UNIX has the "rm" command.

Display the OS version: DOS uses the "ver" command while UNIX has the "uname -a" command.


EDIT: There was some VERY outdated information in my post so I had to edit it...

Last edited by Ikon; 08-08-2008 at 01:17 PM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0