DOS to UNIX Translation

A quick reference for users of DOS who are moving to UNIX. Look for a task or DOS command and then select the UNIX command for further details.

        To ...                      DOS                     UNIX
        ------------------------------------------------------------------------
        display list of files       dir/w dir               ls
                                    dir                     ls -l
        display contents of file    type                    cat
        display file with pauses    type filename | more    more
        
        copy file                   copy                    cp
        find string in file         find                    grep
                                                            fgrep
        compare files               comp                    diff
        rename file                 rename OR ren           mv
        delete file                 erase OR del            rm
        delete directory            rmdir OR rd             rmdir
        change file protection      attrib                  chmod
        create directory            mkdir OR md             mkdir
        change working directory    chdir OR cd             cd
        get help                    help                    man
                                                            apropos
        display date and time       date, time              date
        display free disk space     chkdsk                  df
        print file                  print                   lpr
        display print queue         print                   lpq

[Home] [Search] [Index] This site maintained by support@iphouse.com

Contacting Tech Support

Support 612-337-6340 Mon - Fri 8 am - 8 pm
877-337-6340 Sat 11 am - 4 pm
ipHouse 612-337-6337 331 2nd Ave S, Suite 540
Minneapolis MN 55401