old-www/LDP/intro-linux/html/app2.html

549 lines
7.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>DOS versus Linux commands</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Introduction to Linux"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Useful sites"
HREF="x11877.html"><LINK
REL="NEXT"
TITLE="Shell Features"
HREF="app3.html"></HEAD
><BODY
CLASS="appendix"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Introduction to Linux: </TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x11877.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="app3.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="appendix"
><H1
><A
NAME="app2"
></A
>Appendix B. DOS versus Linux commands</H1
><BLOCKQUOTE
CLASS="ABSTRACT"
><DIV
CLASS="abstract"
><A
NAME="AEN12003"
></A
><P
></P
><P
>In this appendix, we matched DOS commands with their Linux equivalent.</P
><P
></P
></DIV
></BLOCKQUOTE
><P
>As an extra means of orientation for new users with a Windows background, the table below
lists MS-DOS commands with their Linux counterparts. Keep in mind that Linux commands
usually have a number of options. Read the Info or man pages on the command to find out more.</P
><DIV
CLASS="table"
><A
NAME="AEN12006"
></A
><P
><B
>Table B-1. Overview of DOS/Linux commands</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>DOS commands</TH
><TH
ALIGN="LEFT"
VALIGN="MIDDLE"
>Linux command</TH
></TR
></THEAD
><TBODY
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>&#60;command&#62; /?</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>man &#60;command&#62;</B
> or <B
CLASS="command"
>command <TT
CLASS="option"
>--help</TT
></B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>cd</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>cd</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>chdir</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>pwd</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>cls</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>clear</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>copy</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>cp</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>date</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>date</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>del</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>rm</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>dir</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>ls</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>echo</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>echo</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>edit</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>vim (or other editor)</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>exit</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>exit</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>fc</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>diff</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>find</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>grep</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>format</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>mke2fs or mformat</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>mem</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>free</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>mkdir</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>mkdir</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>more</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>more or even less</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>move</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>mv</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>ren</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>mv</B
>
</TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>time</B
>
</TD
><TD
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13; <B
CLASS="command"
>date</B
>
</TD
></TR
></TBODY
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x11877.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="app3.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Useful sites</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Shell Features</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>