Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux basic command

Shulou Source: shulou.com Published: 2022-06-02 11:49:31 09月30日 Update

1.nmtui graphical interface 2.ip network address ip address show 3.systemctl management system service status 4.ping network connectivity ping www.baidu.com 5.shoutdown shutdown shoutdown-h 0 immediate shutdown shoutdown-r 0 immediate restart Start 6.mkdir create directory mkdir-p create multi-tier directory 7.ls display directory ls-a display all files ls-l display details 8.cd change current location Enter a directory called cd. Current directory cd.. Return to the previous directory cd ~ return to the home directory cd-return to the last directory 9.pwd view path 10.rm delete rm-r recursively delete rm-f force delete 11.touch creation file 12.cat view file contents cat-n display line Number and content 13.vi editor Q exit wq save and exit! Force 14.cp to copy cp-r copy cp-p copy files recursively keep properties unchanged 15.mv move files or rename

Basic command

Tags: Directory file content network recursion compulsion command base location information graphics address multi-layer attribute state interface management system system path previous Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MySQL Apple Linux Docker