Unix commands

(redirected from Linux commands)

Unix commands

Unix was developed as a command line interface in the early 1970s with a very rich command vocabulary. DOS followed more than a decade later for the IBM PC, and DOS commands migrated to Windows. Although DOS/Windows commands cover the basics, the command set was never as elaborate as Unix. Microsoft later added a more comprehensive command language for Windows (see PowerShell).

Linux and Mac Are Unix Based
Linux, as well as macOS, are based on Unix and use the same command line syntax (see terminal). Unix text is generally case sensitive, which means "abC" is not the same as "ABc." DOS/Windows text is not however, and "abC" and "ABc" are equal. Following is a brief comparison of common Unix/Linux commands and their DOS/Windows counterparts.


 Change **
  directory    cd      cd

 Create **
  directory    mkdir   mkdir, md

 Remove **
  directory    rmdir   rmdir, rd

 List file
  names        ls      dir

 Copy file     cp      copy

 Delete file   rm      del

 Rename file   mv      ren

 Display file
  contents     cat     type

 Print file    lpr     print

  ** A "directory" is a folder.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
* Command count: the total number of Linux commands coded by a student using the VBLab for Labs 2-6
* The ratio of incorrect to total commands: ratio of incorrect to total Linux commands coded by a student using the VBLab for Labs 2-6
He gave advanced information on IPTables and useful Linux commands. Krunal explained each topic with limpid examples.
Moreover, certain Linux commands will automatically search out and remove unused orphan libraries.
A practical guide to Linux commands, editors, and shell programming, 3d ed.
A Practical Guide to Linux Commands, Editors, and Shell Programming packs in a virtual bible of command references in a 'must have' for any serious Linux programmer and collections catering to them.
The authors address Linux commands, boot methods, package management, the Bash shell, the Emacs editor, a variety of editors, the gawk programming language, source code management, and more.
A Practical Guide to Linux Commands, Editors and Shell Programming, second edition
Enabling Linux commands to be used with a Shell command prompt, the tool is ideal for Linux beginners.
This is done by highlighting the information in grey boxes or using different fonts and styles to represent particular words, such as file names or Linux commands for example.
The webinar shall be more advantageous for technicians who have the knowledge of basic Linux commands and Linux file system.
In this updated edition which overlaps with his Practical Guide to Linux Commands, Editors, and Shell Programming, 2nd ed., Sobell covers Fedora 12 and Red Hat Enterprise Linux version 5.4.