[root@localhost ~]# cat anaconda-ks.cfg
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
repo --name="Server-HighAvailability" --baseurl=file:///run/install/repo/addons/HighAvailability
repo --name="Server-ResilientStorage" --baseurl=file:///run/install/repo/addons/ResilientStorage
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=cn --xlayouts='cn'
# System language
lang zh_CN.UTF-8
...
[root@localhost ~]# ls
anaconda-ks.cfg
[root@localhost ~]# ls -a
. anaconda-ks.cfg .bash_logout .bashrc .tcshrc
.. .bash_history .bash_profile .cshrc
[root@localhost ~]# ls -l
總用量 4
-rw-------. 1 root root 1451 9月 6 22:57 anaconda-ks.cfg
// 1 目錄下只有一個(gè)文件 1451 文件大小
basht@localhost ~]# ls .
anaconda-ks.cfg
bashot@localhost ~]# ls /
bin dev home lib64 mnt proc run srv tmp var
boot etc lib media opt root sbin sys usr
[root@localhost ~]# ls a*
anaconda-ks.cfg
a:
[root@localhost ~]# ls /tmp/ /root/
/root/:
a abc acd anaconda-ks.cfg bbb c cc qwq vbn wqw
/tmp/:
ks-script-bCAQaW
systemd-private-11747351e8364d83b070d6be17400cce-chronyd.service-lGLDlY
systemd-private-11747351e8364d83b070d6be17400cce-vgauthd.service-g3JiUd
systemd-private-11747351e8364d83b070d6be17400cce-vmtoolsd.service-wE4Eut
yum.log
[root@localhost ~]# mkdir a
[root@localhost ~]# ls
a anaconda-ks.cfg
上一個(gè)教程:alex.shu
下一個(gè)教程:Linux tftp 命令用法詳解