
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 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
| Command | Description |
|---|---|
| ls | List the directory (folder) system. |
| cd pathname | Change directory (folder) in the file system. |
| cd .. | Move one level up (one folder) in the file system. |
| cp | Copy a file to another folder. |
| mv | Move a file to another folder. |
| mkdir | Creates a new directory (folder). |
| rmdir | Remove a directory (folder). |
| clear | Clears the CLI window. |
| exit | Closes the CLI window. |
| man command | Shows the manual for a given command. |
Basic Windows CLI Commands
| Command | Description |
|---|---|
| dir | List the directory (folder) system. |
| cd pathname | Change 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. |
| copy | Copy a file to another folder. |
| move | Move a file to another folder. |
| type filename | Type a file. |
| mkdir or md | Creates a new directory (folder). |
| rmdir or rd | Removes a directory (folder). |
| cls | Clears the CLI window. |
| exit | Closes the CLI window. |
| help command | Shows the manual for a given command. |
No comments:
Post a Comment