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 simple 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 systems.
We also call it Terminal in Mac OS or Command Prompt in Windows operating system.
For these listed tasks, we have to pass command line arguments.
Ctrl + Rto open RUN dialog box, and type in cmd to open Command Prompt.
Following are some useful commands, used in day-to-day work:
cls→ Clear the Command Prompt screen
cd [directory_path]→ To go to any directory
cd ..→ To come out of any directory, to its immediate parent directory.
mkdir [directory_name]→ This command is used to create any directory.
ipconfig→ To get information about your IP address and DNS related info.
Command + Spaceto open Spotlight Search, and type terminal in the search field.