Home > Article > Operation and Maintenance > How to use commands in linux
How to use commands in Linux?
Question:
I am using Linux for the first time and installed redhat9.0 on a VMware6.0 virtual machine. I want to use the ping command. If cmd can be used in Windows, then in Linux Where should it be used?
Recommendation: "Linux Tutorial"
Answer:
1. In the red hat red hat, a system terminal ( Terminal), this is a simulated system terminal. Its function is similar to that in the text interface. It can display Chinese
2. Press ctrl + alt + F (1-6) in the graphical interface to log in to the text interface
First make sure you have root permissions, use ifconfig to check whether there is a network connection and whether the network connection is normal. The main thing is the connection status of eth0 (network card). If it is displayed, it proves normal. Otherwise, use the service network restart command to restart the network service
I have installed rh9 in the virtual machine and can ping successfully. However, if you want to use the domain name to browse the web instead of IP, you need to modify some system configuration files.
The above is the detailed content of How to use commands in linux. For more information, please follow other related articles on the PHP Chinese website!