Home > System Tutorial > LINUX > body text

Commonly used basic Linux commands and how to use them

WBOY
Release: 2024-01-09 21:34:09
forward
782 people have browsed it

This issue introduces the use of basic Linux commands

1. Use the who command to display the user name of the current Linux system

linux基础命令有哪些? linux基础命令使用方法

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)

linux基础命令有哪些? linux基础命令使用方法

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

linux基础命令有哪些? linux基础命令使用方法

linux基础命令有哪些? linux基础命令使用方法

4. Use the command data to display the current time: use the cal command to display the calendar for the year 4 AD

linux基础命令有哪些? linux基础命令使用方法

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.

linux基础命令有哪些? linux基础命令使用方法

6. Use the uptime command to determine when the system has been started and how many logged-in users are in the current system

linux基础命令有哪些? linux基础命令使用方法

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!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!