Definition - What does Command Line Interface (CLI) mean?
Command line interface (CLI) is a text-based interface that is used to operate software and operating systems while allowing the user to respond to visual prompts by typing single commands into the interface and receiving a reply in the same way.
CLI is quite different from the graphical user interface (GUI) that is presently being used in the latest operating system
Windows Example
C:\>npm install mysql
Mac OS Example
>npm install mysql
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. |
Comments
Post a Comment