Wednesday, 11 March 2020

Disk operating system (DOS)



In desktop search bar type like  CMD then you can go to Command Line Input  (CLI)

CLI is a command line program that accepts text input to execute operating system functions.
In the 1960s, using only computer terminals, this was the only way to interact with computers.
In the 1970s an 1980s, command line input was commonly used by Unix systems and PC systems like MS-DOS and Apple DOS.
Today, with graphical user interfaces (GUI), most users never use command-line interfaces (CLI).
However, CLI is still used by software developers and system administrators to configure computers, install software, and access features that are not available in the graphical interface.

Examples

The software package manager npm uses command line input to install software:

Windows Example

C:\>npm install mysoftware

Mac OS Example

>npm install mysoftware
You can navigate your folders (directories) with command line commands:

Windows Example

C:\Users\myuser>cd ..
C:\Users\>cd ..
C:\
C:\cd C:\Users
C:\Users\



Basic Linux CLI Commands

CommandDescription
lsList the directory (folder) system.
cd pathnameChange directory (folder) in the file system.
cd ..Move one level up (one folder) in the file system.
cpCopy a file to another folder.
mvMove a file to another folder.
mkdirCreates a new directory (folder).
rmdirRemove a directory (folder).
clearClears the CLI window.
exitCloses the CLI window.
man commandShows the manual for a given command.

Basic Windows CLI Commands

CommandDescription
dirList the directory (folder) system.
cd pathnameChange directory (folder) in the file system.
cd \Move to the root folder of the file system.
cd ..Move one level up (one folder) in the file system.
copyCopy a file to another folder.
moveMove a file to another folder.
type filenameType a file.
mkdir or mdCreates a new directory (folder).
rmdir or rdRemoves a directory (folder).
clsClears the CLI window.
exitCloses the CLI window.
help commandShows the manual for a given command.

No comments:

Post a Comment