$What does it mean in linux?
The $ in linux is the "command prompt" where you can enter commands at the end. The current user may be prompted in front of the command prompt. Some information, under Linux, the user will be prompted for the current directory and current user.
Recommended: Linux Tutorial
##$ is used to give variable commands in Linux, for example $JAVA_HOME refers to the environment variable of JAVA_HOME. echo $JAVA_HOME can output the home directory of jdk in the Linux terminal. $ is also used when passing parameters to the script in the Shell script. For example, the format for obtaining parameters in the script is: $n, n represents a number, 1 is the first parameter to execute the script, and 2 is the execution The second parameter of the script, and so on. Linux is a set of Unix-like operating systems that are free to use and freely disseminated. It is a multi-user, multi-task, multi-threading and multi-CPU operating system based on POSIX and Unix. It can run major Unix software tools, applications and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance.The above is the detailed content of What does $ mean in linux. For more information, please follow other related articles on the PHP Chinese website!