Home >System Tutorial >LINUX >Commonly used basic Linux commands and how to use them
This issue introduces the use of basic Linux commands
1. Use the who command to display the user name of the current Linux system
2. Use the following commands to display information about the computer system: uname (displays the name of the operating system), uname –n (displays the system domain name), uname –p(Display the name of the CPU)
3. Use the passwd command to modify the user name and login password found with the whoami command . Then use who –a to command the username of the computer and a list of other users on the same system
4. Use the command data to display the current time: use the cal command to display the calendar for the year 4 AD
5. How many days are there in 1752 and why? There are 356 days. Through cal 1752 we found that there are 29 days in February of that year which are leap years, so there are 356 days.
6. Use the uptime command to determine when the system has been started and how many logged-in users are in the current system
related suggestion:
How to use commands to create files and folders in Linux?
How to use the command to compress and decompress to a specified directory in Linux?
How to use Linux Bash commands in the preview version of Win10 First Anniversary Update?
The above is the detailed content of Commonly used basic Linux commands and how to use them. For more information, please follow other related articles on the PHP Chinese website!