linux常用命令和配置文件
20 Questions
8 Views

linux常用命令和配置文件

Created by
@AdvancedAspen

Questions and Answers

命令:ls

名称:ls 英文原意:list 所在路径:/usr/bin/ls 执行权限:所有用户 功能描述:显示目录下的内容

ls:命令格式及常用选项

[root@localhost~]#ls[选项][文件名或目录名] 选项: -a:显示所有文件 ---color=when:支持颜色输出,when的值是默认为always(总显示颜色),也可以是never(从不显示颜色)和auto(自动) -d:显示目录信息,而不是目录下的文件 -h:人性化显示,按我们习惯的单位显示文件大小。 -i:显示文件的i节点号 -l:长格式显示

网络配置文件位置

/etc/sysconfig/network-scripts/ifcfg-ens33

图形化配置IP命令

<p>nmtui</p> Signup and view all the answers

控制RPM服务命令

<p>systemctl【 】选项【 】服务名</p> Signup and view all the answers

开启\关闭\重启网络服务

<p>systemctl start\stop\restart network</p> Signup and view all the answers

查询网络状态命令

<p>ifconfig</p> Signup and view all the answers

关闭防火墙启动命令

<p>systemctl stop firewalld</p> Signup and view all the answers

开启\关闭防火墙自启动命令

<p>systemctl enable\disable firewalld</p> Signup and view all the answers

Xshell上传命令

<p>rz</p> Signup and view all the answers

Xshell下载命令

<p>sz</p> Signup and view all the answers

本机清屏快捷健

<p>ctrl+l</p> Signup and view all the answers

补全快捷键

<p>tab</p> Signup and view all the answers

Xshell清屏快捷键

<p>ctrl+shift+l</p> Signup and view all the answers

安全重启命令

<p>shutdown -r now</p> Signup and view all the answers

数据同步命令,再重启前多执行几次

<p>sync</p> Signup and view all the answers

查看分区使用情况

<p>df -h</p> Signup and view all the answers

显示详细文件信息

<p>ls -l</p> Signup and view all the answers

查看文件

<p>cat</p> Signup and view all the answers

查看系统进程信息

<p>ps aux</p> Signup and view all the answers

More Quizzes Like This

Quiz de Conocimientos sobre Linux
10 questions
Linux的目录结构
31 questions
Linux基础
91 questions

Linux基础

AdvancedAspen avatar
AdvancedAspen
Linux Shell Flashcards
39 questions

Linux Shell Flashcards

MarvelousPascal avatar
MarvelousPascal
Use Quizgecko on...
Browser
Browser