菜单

Linux的要害子目录,Linux重要子目录

2019年5月6日 - www6165com

2:  DNS文件

[root@localhost ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search localdomain
nameserver 192.168.126.2

注:网卡的安插文件之中假使安顿了DNS,它的先期级是大于这些布局文件的。

 

1二:  用户账号相关信息

/etc/passwd  系统具有用户账号消息文件

金沙国际 1

HWADDLAND=00:0c:2玖:ba:捌e:八f    网卡的MAC地址,421位   删掉就行

6:  /etc/rc.local文件

存放手机自运转服务命令(同于windows里面包车型地铁开端菜单中运转菜单)

金沙国际 2

能够将下令直接写入到布署文件的末行

注: 
实际生育条件中,一般服务开机自运行都会写入这么些布局文件之中,那样只需求查阅此安顿文件就足以查出服务器运转哪些服务。

 

10:  motd文件

/etc/motd  用户登入提醒音信

金沙国际 3

金沙国际 4

 编辑过后,再登入就呈现本人编排的文书。

 

让业主加薪

15:  定时任务计划文件

/var/spool/cron/  定时职责安插文件

金沙国际 5

DESCRIPTION
       Crontab  is  the program used to install, remove or list the tables  #crontab是程序用来安装,移除或者列出一个表去驱动cron进程。
       used to drive the cron(8) daemon.  Each user  can  have  their  own
       crontab,  and  though these are files in /var/spool/ , they are not  #这些定时文件到在/var/spool/cron下
       intended to be edited directly. For SELinux in mls mode can be even
       more crontabs - for each range. For more see selinux(8).

       The  cron  jobs could be allow or disallow for different users. For
       classical crontab there exists cron.allow and cron.deny files.   If
       cron.allow file exists, then you must be listed therein in order to
       be allowed to use this command.  If the cron.allow  file  does  not
       exist  but  the  cron.deny  file  does  exist, then you must not be
       listed in the cron.deny file in order to use this command.  If nei-
       ther  of these files exists, only the super user will be allowed to
       use this command.  The second option is using  PAM  authentication,
       where  you  set  up  users, which could or couldn’t use crontab and
       also system cron jobs from /etc/cron.d/.

       The temporary directory could be set in  enviroment  variables.  If
       it’s not set by user than /tmp is used.

金沙国际 6

3:  hosts文件

/etc/hosts  用户IP与名称(域名)的照看解析的配置文件

在事实上的生育境况中很有用(一般装有的内网机器hosts文件都保持一致),首要用来服务器迁移

金沙国际 7

[[email protected] ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.197.100 centos6.6
[[email protected] ~]# hostname
centos6.6
[[email protected] ~]# ping centos6.6
PING centos6.6 (192.168.197.100) 56(84) bytes of data.
64 bytes from centos6.6 (192.168.197.100): icmp_seq=1 ttl=64 time=0.051 ms
64 bytes from centos6.6 (192.168.197.100): icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from centos6.6 (192.168.197.100): icmp_seq=3 ttl=64 time=0.047 ms
^C
-- centos6.6 ping statistics --
3 packets transmitted, 3 received, 0% packet loss, time 2867ms
rtt min/avg/max/mdev = 0.047/0.048/0.051/0.006 ms

 实际生育情况的功能:

  一.  支出、产品、测试职员用于通过正规的域名来测试行生产品

  二. 
服务器之间调用能够用域名,方便未来的迁徙(各程序之间调用域名,机房迁移之后只需修改相应的hosts文件就能够)

 

[root@pyrene ~]# tree -L 1 /    查看/上边包车型地铁率先层

3:  hosts文件

/etc/hosts  用户IP与名称(域名)的相应解析的布局文件

在骨子里的生育意况中很有用(一般装有的内网机器hosts文件都保持壹致),首要用于服务器迁移

金沙国际 8

[root@centos6 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.197.100 centos6.6
[root@centos6 ~]# hostname
centos6.6
[root@centos6 ~]# ping centos6.6
PING centos6.6 (192.168.197.100) 56(84) bytes of data.
64 bytes from centos6.6 (192.168.197.100): icmp_seq=1 ttl=64 time=0.051 ms
64 bytes from centos6.6 (192.168.197.100): icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from centos6.6 (192.168.197.100): icmp_seq=3 ttl=64 time=0.047 ms
^C
-- centos6.6 ping statistics --
3 packets transmitted, 3 received, 0% packet loss, time 2867ms
rtt min/avg/max/mdev = 0.047/0.048/0.051/0.006 ms

 实际生育条件的意义:

  一.  费用、产品、测试职员用于通过标准的域名来测试行生产品

  二. 
服务器之间调用能够用域名,方便以往的迁移(各程序之间调用域名,机房迁移之后只需修改相应的hosts文件就能够)

 

捌:  软件运营服务文件

/etc/init.d  安装的软件运营服务(系统的启航服务)所在目录

使用yum、rpm安装的软件运行程序都在那个目录下

金沙国际 9

 

ONBOOT=yes  调节作者极度卡是否开机运维

1贰:  用户账号相关音信

/etc/passwd  系统具备用户账号音讯文件

金沙国际 10

 

└── var           存放系统日志的目录

一三:  用户密码相关文书

/etc/shadow  系统具有用户密码新闻文件
/etc/gshadow  系统全数组密码音讯文件

金沙国际 11

金沙国际 12

 

11:  group文件

/etc/group  用户的组名与有关音讯

金沙国际 13

 

三、唯有把文化装入潜意识了,今后本事急忙抽出来用

4:  主机名文件

/etc/sysconfig/network  修改机器名及网卡运营、网关配置文件

金沙国际 14

修改上述的HOSTNAME永世生效(修改主机名)

 

Linux的根本子目录,Linux首要子目录

SELINUX=disabled

7:  inittab文件

/etc/inittab  设定系统运维时init进度将把系统设置成什么样的周转等级及加相关的启航文件配置的公文

[root@localhost ~]# cat /etc/inittab 
# inittab is only used by upstart for the default runlevel.  #只被用于突然发起的默认运行级别
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:

注:  linux开机运营流程如下:

开机自检—-MB帕杰罗辅导程序—–GRUB菜单—-加载内核—-运转init过程—-读取/etc/inittab配置文件—-实践/etc/rc.d/rc.sysinit脚本—-实行/etc/rc.local脚本(读取运转级别)—-运行终端登入进度—-登陆系统

 

 九:  全局景况变量文件

/etc/profile  系统全局变量的配备文件

[[email protected] init.d]# cat /etc/profile
# /etc/profile

# System wide environment and startup programs, for login setup  #系统全局变量和启动程序
# Functions and aliases go in /etc/bashrc

# It's NOT a good idea to change this file unless you know what you  #除非你知道你要做什么,否则不要更改
# are doing. It's much better to create a custom.sh shell script in  #更好的是去创建脚本在/etc/profile.d,去改变
# /etc/profile.d/ to make custom changes to your environment, as this
# will prevent the need for merging in future updates.

pathmunge () {
    case ":${PATH}:" in
        *:"$1":*)
            ;;
        *)
            if [ "$2" = "after" ] ; then
                PATH=$PATH:$1
            else
                PATH=$1:$PATH
            fi
    esac
}


if [ -x /usr/bin/id ]; then
    if [ -z "$EUID" ]; then
        # ksh workaround
        EUID=`id -u`
        UID=`id -ru`
    fi
    USER="`id -un`"
    LOGNAME=$USER
    MAIL="/var/spool/mail/$USER"
fi

# Path manipulation
if [ "$EUID" = "0" ]; then
    pathmunge /sbin
    pathmunge /usr/sbin
    pathmunge /usr/local/sbin
else
    pathmunge /usr/local/sbin after
    pathmunge /usr/sbin after
    pathmunge /sbin after
fi

HOSTNAME=`/bin/hostname 2>/dev/null`
HISTSIZE=1000
if [ "$HISTCONTROL" = "ignorespace" ] ; then
    export HISTCONTROL=ignoreboth
else
    export HISTCONTROL=ignoredups
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL

# By default, we want umask to get set. This sets it for login shell
# Current threshold for system reserved uid/gids is 200
# You could check uidgid reservation validity in
# /usr/share/doc/setup-*/uidgid file
if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then
    umask 002
else
    umask 022
fi

for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        if [ "${-#*i}" != "$-" ]; then
            . "$i"
        else
            . "$i" >/dev/null 2>&1
        fi
    fi
done

unset i
unset -f pathmunge
export TMOUT=300
HISTSIZE=50
HISTFILESIZE=50

与之提到的还有3个文书/etc/profile.d,能够存放登入后活动施行的剧本

[[email protected] ~]# cd /etc/profile.d/
[[email protected] profile.d]# vi welcome.sh
echo "welcome to mingongge's blog"
[[email protected] profile.d]# chmod +x welcome.sh
[[email protected] profile.d]# logout
Last login: Thu Dec 22 13:51:55 2016 from 192.168.197.1
welcome to mingongge's blog

 

除去东西的时候那样删除:

捌:  软件运行服务文件

/etc/init.d  安装的软件运营服务(系统的启航服务)所在目录

使用yum、rpm安装的软件运转程序都在这些目录下

金沙国际 15

 

6:  /etc/rc.local文件

寄存开机自运维服务命令(同于windows里面包车型大巴伊始菜单中运行菜单)

金沙国际 16

可以将指令直接写入到布置文件的末行

注: 
实际生产条件中,一般服务开机自运维都会写入那个布局文件之中,那样只要求查阅此布置文件就足以得知服务器运维哪些服务。

 

                   更换主机名:

11:  group文件

/etc/group  用户的组名与有关消息

金沙国际 17

 

一三:  用户密码相关文件

/etc/shadow  系统具有用户密码音讯文件
/etc/gshadow  系统全数组密码消息文件

金沙国际 18

金沙国际 19

 

#   2 – Multiuser, without NFS (The same as 3, if you do not have
networking)

一:  网卡的配备文件

金沙国际 20[

root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE=eth0  #网卡设备名称
HWADDR=00:0C:29:26:96:BD  #MAC地址
TYPE=Ethernet  #以太网
UUID=e982e20a-e7ef-4246-8e44-a7c0c474c708  #Linux系统内部的标识,唯一
ONBOOT=yes  #开机启动
NM_CONTROLLED=yes  
#BOOTPROTO=dhclient
BOOTPROTO=static  #引导协议,一般为static(静态),dhclient(自动获取)
IPADDR=192.168.126.128  #IP地址

NETMASK=255.255.255.0  #子网掩码
GATEWAY=192.168.126.2  #网关
DNS=111.13.148.14

 一样能够运用命令setup来实施网卡参数

金沙国际 21

 

1伍:  定期义务陈设文件

/var/spool/cron/  定期职分布置文件

金沙国际 22

DESCRIPTION
       Crontab  is  the program used to install, remove or list the tables  #crontab是程序用来安装,移除或者列出一个表去驱动cron进程。
       used to drive the cron(8) daemon.  Each user  can  have  their  own
       crontab,  and  though these are files in /var/spool/ , they are not  #这些定时文件到在/var/spool/cron下
       intended to be edited directly. For SELinux in mls mode can be even
       more crontabs - for each range. For more see selinux(8).

       The  cron  jobs could be allow or disallow for different users. For
       classical crontab there exists cron.allow and cron.deny files.   If
       cron.allow file exists, then you must be listed therein in order to
       be allowed to use this command.  If the cron.allow  file  does  not
       exist  but  the  cron.deny  file  does  exist, then you must not be
       listed in the cron.deny file in order to use this command.  If nei-
       ther  of these files exists, only the super user will be allowed to
       use this command.  The second option is using  PAM  authentication,
       where  you  set  up  users, which could or couldn’t use crontab and
       also system cron jobs from /etc/cron.d/.

       The temporary directory could be set in  enviroment  variables.  If
       it’s not set by user than /tmp is used.

金沙国际 23

1:
网卡的安插文件 [
[email protected]
~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0
#网卡设备名称 HWADD翼虎…

0、重启

 玖:  全局境况变量文件

/etc/profile  系统全局变量的布署文件

[root@localhost init.d]# cat /etc/profile
# /etc/profile

# System wide environment and startup programs, for login setup  #系统全局变量和启动程序
# Functions and aliases go in /etc/bashrc

# It's NOT a good idea to change this file unless you know what you  #除非你知道你要做什么,否则不要更改
# are doing. It's much better to create a custom.sh shell script in  #更好的是去创建脚本在/etc/profile.d,去改变
# /etc/profile.d/ to make custom changes to your environment, as this
# will prevent the need for merging in future updates.

pathmunge () {
    case ":${PATH}:" in
        *:"$1":*)
            ;;
        *)
            if [ "$2" = "after" ] ; then
                PATH=$PATH:$1
            else
                PATH=$1:$PATH
            fi
    esac
}


if [ -x /usr/bin/id ]; then
    if [ -z "$EUID" ]; then
        # ksh workaround
        EUID=`id -u`
        UID=`id -ru`
    fi
    USER="`id -un`"
    LOGNAME=$USER
    MAIL="/var/spool/mail/$USER"
fi

# Path manipulation
if [ "$EUID" = "0" ]; then
    pathmunge /sbin
    pathmunge /usr/sbin
    pathmunge /usr/local/sbin
else
    pathmunge /usr/local/sbin after
    pathmunge /usr/sbin after
    pathmunge /sbin after
fi

HOSTNAME=`/bin/hostname 2>/dev/null`
HISTSIZE=1000
if [ "$HISTCONTROL" = "ignorespace" ] ; then
    export HISTCONTROL=ignoreboth
else
    export HISTCONTROL=ignoredups
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL

# By default, we want umask to get set. This sets it for login shell
# Current threshold for system reserved uid/gids is 200
# You could check uidgid reservation validity in
# /usr/share/doc/setup-*/uidgid file
if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then
    umask 002
else
    umask 022
fi

for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        if [ "${-#*i}" != "$-" ]; then
            . "$i"
        else
            . "$i" >/dev/null 2>&1
        fi
    fi
done

unset i
unset -f pathmunge
export TMOUT=300
HISTSIZE=50
HISTFILESIZE=50

与之提到的还有2个文本/etc/profile.d,能够存放登入后自动试行的脚本

[root@centos6 ~]# cd /etc/profile.d/
[root@centos6 profile.d]# vi welcome.sh
echo "welcome to mingongge's blog"
[root@centos6 profile.d]# chmod +x welcome.sh
[root@centos6 profile.d]# logout
Last login: Thu Dec 22 13:51:55 2016 from 192.168.197.1
welcome to mingongge's blog

 

四:  主机名文件

/etc/sysconfig/network  修改机器名及网卡运转、网关配置文件

金沙国际 24

修改上述的HOSTNAME长久生效(修改主机名)

 

7、/etc/inittab  
设定系统运转时init进度将把系统设置成什么样的runlevel运维等第及加载相关的等第对应运行文件设置

1四:  系统新闻文件

/var/log/messages  系统日志文件

金沙国际 25

/var/log/secure  登入系统存取音信文件(系统安全日志文件)

金沙国际 26

 

2:  DNS文件

[[email protected] ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search localdomain
nameserver 192.168.126.2

注:网卡的配备文件之中尽管安插了DNS,它的先行级是出乎那几个布局文件的。

 

                            motd    登入之后显得的消息(能够给登陆用户展现)

 

1肆:  系统音讯文件

/var/log/messages  系统日志文件

金沙国际 27

/var/log/secure  登入系统存取音信文件(系统安全日志文件)

金沙国际 28

 

/

10:  motd文件

/etc/motd  用户登入提醒消息

金沙国际 29

金沙国际 30

 编辑过后,再登入就显得本人编写的文本。

 

5:  fstab文件

/etc/fstab  记录开机要挂载的文件系统文件

金沙国际 31

开机自动挂载磁盘,设置文件系统挂载消息的公文

文本音信一共包蕴6列(具体分析可 man fstab 查看)

首先列:  被挂载的设备名称

其次列:  挂载点地点

其三列:  文件系统类型

第伍列:  挂载选项(只读、可写、其余等等)

第四列:  需无需备份(0正是不备份)

第陆列:  需不须要开计算机检索查(0便是无需,须求安装为一)

 

/proc/ioports  :当前正值利用的I/O端口

5:  fstab文件

/etc/fstab  记录开机要挂载的文件系统文件

金沙国际 32

开机自动挂载磁盘,设置文件系统挂载音讯的文本

文件音信一共包罗6列(具体分析可 man fstab
查看)

先是列:  被挂载的装置名称

其次列:  挂载点地点

其叁列:  文件系统类型

第陆列: 
挂载选项(只读、可写、别的等等)

第伍列: 
需无需备份(0就是不备份)

第伍列: 
需无需开计算机检索查(0正是无需,必要安装为1)

 

一:  网卡的配置文件

金沙国际 33[

[email protected] ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE=eth0  #网卡设备名称
HWADDR=00:0C:29:26:96:BD  #MAC地址
TYPE=Ethernet  #以太网
UUID=e982e20a-e7ef-4246-8e44-a7c0c474c708  #Linux系统内部的标识,唯一
ONBOOT=yes  #开机启动
NM_CONTROLLED=yes  
#BOOTPROTO=dhclient
BOOTPROTO=static  #引导协议,一般为static(静态),dhclient(自动获取)
IPADDR=192.168.126.128  #IP地址

NETMASK=255.255.255.0  #子网掩码
GATEWAY=192.168.126.2  #网关
DNS=111.13.148.14

 同样能够行职分令setup来施行网卡参数

金沙国际 34

 

[root@pyrene ~]# ps -ef|grep ssh         -》查看进程

7:  inittab文件

/etc/inittab  设定系统运行时init进度将把系统设置成什么样的周转品级及加相关的开发银行文件配置的文件

[[email protected] ~]# cat /etc/inittab 
# inittab is only used by upstart for the default runlevel.  #只被用于突然发起的默认运行级别
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:

注:  linux开机运转流程如下:

开机自检—-MB猎豹CS陆指引程序—–GRUB菜单—-加载内核—-运营init进度—-读取/etc/inittab配置文件—-实行/etc/rc.d/rc.sysinit脚本—-执行/etc/rc.local脚本(读取运行级别)—-运维终端登六进度—-登入系统

 

root       1523      1  0 18:27 ?        00:00:00 /usr/sbin/sshd

linux目录介绍及目录和磁盘分离原理精讲

# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf

# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
info

[root@pyrene ~]# runlevel   查看当前运营品级

5、因为不可能重启Computer,所以那边要查看并退换配置文件

 

/ :第四个盘装系统

NETWORKING=yes

NETWORKING=yes

8、/etc/profile  :系统全局情状变量永远生效的陈设文件

                            profile   全局情形变量

端口的简易概念

 

[root@pyrene ~]# setenforce

                           

├── root        

2、/etc/resolv.conf     查看本地dns的计划文件

tmpfs           491M     0  491M   0% /dev/shm

6、/etc/rc.local
:用于存松手机器自动程序命令的公文,(chkconfig常用管理yum/rpc安装的次序的劳动的开机自运行)
自身支付的次第,许冠把运转命令放入/.etc/rc.local。实现开机运维那些程序,linux开机的时候会把/etc/rc.local里的内容实施3回

[root@oldboy ~]# sed ‘s#HOSTNAME=oldboy#HOSTNAME=pyrene#金沙国际,g’
/etc/sysconfig/network

第四列:是还是不是做开计算机检索查  一要反省,借使自身挂的分区的做0,不做检讨

/proc/devices :当前运维内核所配置的兼具设施清单

4、/etc/sysconfig/network    可修改机器名及网卡运维,网管等配备

setup  ->选取网络配置—》选取dns配置

第三层是对准/usr和/var做了对应的正式

#   3 – Full multiuser mode

3、目录和磁盘分区是向来不提到的

                           PATH变量

UUID=06f8ef08-e184-44a1-a7b6-f47e9ba033ec swap                   
swap    defaults        0 0

id:3:initdefault:

 

三、/etc/hosts  
设置用户ip和名字(或域名)的相应解析表,相当于地点局域网内的DNS

 

一、根是全部目录的终极

[root@pyrene ~]# sed -i ‘s#SELINUX=enforcing#SELINUX=disabled#g’
/etc/selinux/config

         /etc/motd 登入后显得的字符集

# Default runlevel. The runlevels used are:

├── opt          可采纳的,自定义软件包(未来不正常用)

/dev/sda  /dev/sda1  /dev/sda2  /dev/sda3

# inittab is only used by upstart for the default runlevel.

tcp        0      0 :::22                       :::*   

├── mnt          权且挂载目录

#     targeted – Targeted processes are protected,

如:

[root@pyrene network-scripts]# cp ifcfg-eth0 ifcfg-eth0.ori

proc                    /proc                   proc    defaults  
     0 0

 

#     enforcing – SELinux security policy is enforced.

光驱也是一种器械 /dev/cdrom

UUID=10511f1b-4551-4ffe-ad42-4f2aff3132d7 /                     
 ext4    defaults        1 1

#   1 – Single user mode

                            resolv.conf   dns配置文件

#

HOSTNAME=oldboy

3、然后再交替文件中的内容

在windows是在c:\windows\system32\drivers\etc\hosts

肆、根下分裂的目录或然会对应不一样的分区和磁盘。主要挂载点的差异

# SELINUXTYPE= can take one of these two values:

ip的简短概念

4、保留未有运用

├── media

/user :装用户自身的次序

DNS=20二,,, 域名解析 dns 
正是把www.baidu.com解析成1.1.1.1

接下来setup举行退换

proc目录

修章:

# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.

/proc: 虚拟目录,是内部存款和储蓄器的映照,内核和进度的虚构文件系统目录

/proc/version   内核版本

linux中的设备

 

/var 日志文件目录

/dev/sda1       380M   67M  293M  19% /boot

例子:修改ip地址

NM_CONTROLLED=yes

 

那个体协会议就如问大家谈话同样,普通话、俄语、立陶宛(Lithuania)语/不相同服务提供了差异的端对应了分裂的成效通信格局或许是见仁见智的,那种通讯的主意咱们就足以清楚为切磋

 

root       1813   1523  0 19:25 ?        00:00:00 sshd: root@pts/0

/bin :普通用户命令的目录

LINUX中根是顶点,像2个悬挂的树

                           用户的景况变量:~/.bash_profile,~/.bashrc

├── lib64

协议的简练概念:

# /etc/fstab

[root@pyrene ~]# ifdown eth0&&ifup eth0    
重启网卡,注意这里的重启网卡针对某些网卡重启

相关文章

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图