📅  最后修改于: 2020-12-07 06:08:52             🧑  作者: Mango
命令是我们给计算机的指令,它可以做我们想做的任何事情。在Mac OS和Linux中,它称为终端,而在Windows中,它称为命令提示符。命令始终区分大小写。
通过在命令行中键入然后按Enter键来执行命令。
该命令进一步传递给外壳,外壳读取该命令并执行该命令。 Shell是用户与系统交互的一种方法。 Linux中的默认Shell称为bash(Bourne-Again Shell)。
Shell命令有两种类型:
Directory Command | Description |
---|---|
pwd | The pwd command stands for (print working directory). It displays the current working location or directory of the user. It displays the whole working path starting with /. It is a built-in command. |
ls | The ls command is used to show the list of a folder. It will list out all the files in the directed folder. |
cd | The cd command stands for (change directory). It is used to change to the directory you want to work from the present directory. |
mkdir | With mkdir command you can create your own directory. |
rmdir | The rmdir command is used to remove a directory from your system. |