RHEL7 learning punch (3 day)

1. The system-state detecting command

ifconfig

See card name, IP address, MAC address, RX receives the data packet, TX data packet transmission

uname

View system kernel and system version and other information

uptime

Check the system load information

free

Check the amount of memory used in the system of information about the current

who

See channel currently logged in user host terminal

last

Log in to view all records system

history

View history execute the command

sosreport

Command is used to collect system configuration and schema information and diagnostic output document

2. Change the working directory command

pwd

Which displays the user's current working directory

Change the working directory

Cd Change directory

Cd ~ home directory

cd .. go to previous

cd - return a directory

ls command

View the file in the directory

 

Guess you like

Origin www.cnblogs.com/zjhhzs/p/11494624.html