Home > OS >  Linux simple command method
Linux simple command method

Time:02-28

Check the IP address information: ifconfig
Check the host name: the hostname
View the routing information: the route - n
Check the DNS resource records: nslookup
View, of course, the path to the location: PWD
Switch directory: CD
List shows directory content: ls -l
Create a directory: mkdir
Create multiple directories: mkdir -p
Create an empty file name: touch
Statistics directory and file space usage: du - sh
Copy the file or directory: cp - rf path/source/target file

CodePudding user response:

Writing for the first time, also please great god guidance error of all stripes, thank you

CodePudding user response:

Give you a Linux command is for your reference and learn from each other, support you,
  • Related