标签:eth enables prot key ado format version inux let
-b :给每一行编号不包括空白行
-n:给所有行编号
[root@host01 tmp]# cat -An /root/anaconda-ks.cfg 1 # Kickstart file automatically generated by anaconda.$ 2 $ 3 #version=DEVEL$ 4 install$ 5 cdrom$ 6 lang en_US.UTF-8$ 7 keyboard us$ 8 network --onboot no --device eth0 --bootproto dhcp --noipv6$ 9 rootpw --iscrypted $6$WcPbmXB0J/pnlOQB$m8f5TaBOgQ.ipHT4kkkx4eYRqfL3D629ggzC3ryVp68H8mXfhaM.eAl0J3kkmI4j0BPn20usTvMdoLxfbw1lf/$ 10 firewall --service=ssh$ 11 authconfig --enableshadow --passalgo=sha512$ 12 selinux --enforcing$ 13 timezone --utc Asia/Shanghai$ 14 bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"$ 15 # The following is the partition information you requested$ 16 # Note that any partitions you deleted are not expressed$ 17 # here so unless you clear all partitions first, this is$ 18 # not guaranteed to work$ 19 #clearpart --all --drives=sda$ 20 $ 21 #part /boot --fstype=ext4 --size=500$ 22 #part pv.008002 --grow --size=1$ 23 $ 24 #volgroup vg_host01 --pesize=4096 pv.008002$ 25 #logvol / --fstype=ext4 --name=lv_root --vgname=vg_host01 --grow --size=1024 --maxsize=51200$ 26 #logvol swap --name=lv_swap --vgname=vg_host01 --grow --size=1984 --maxsize=1984$ 27 $ 28 repo --name="CentOS" --baseurl=cdrom:sr0 --cost=100$ 29 $ 30 %packages --nobase$ 31 @core$ 32 %end[root@host01 tmp]# cat -An /root/anaconda-ks.cfg
-
linux基础命令-文件查看类命令cat/tac/more/less/tail/head
标签:eth enables prot key ado format version inux let
原文地址:http://www.cnblogs.com/me80/p/7406833.html