Linux basic commands-File View class command Cat/tac/more/less/tail/head

Source: Internet
Author: User

Cat View Text File contents

-B: Blank lines are not included for each line number

-N: Numbering All Lines

[[Email protected]host01 tmp]#Cat-an/root/anaconda-ks.cfg1# Kickstartfileautomatically generated by anaconda.$2    $     3#version =devel$4    Install$     5cdrom$6Lang en_US. utf-8$     7Keyboard US $8Network--onboot no--device eth0--bootproto DHCP--noipv6$9ROOTPW--iscrypted $6$WcPbmXB 0j/pnloqb$m8f5tabogq.ipht4kkkx4eyrqfl3d629ggzc3ryvp68h8mxfham.eal0j3kkmi4j0bpn20ustvmdolxfbw1lf/$    TenFirewall--service=SSH$     OneAuthconfig--enableshadow--passalgo=sha512$ ASELinux--enforcing$ -TimeZone--UTC asia/shanghai$ -Bootloader--location=mbr--DRIVEORDER=SDA--append="Crashkernel=auto RHGB Quiet"$     the# The following is the partition information you requested$ -# Note that any partitions deleted is not expressed$ -# Here's unless youClearAll partitions First, this is$ -# guaranteed to work$ +#clearpart--all--drives=sda$ -    $     +#part/boot--fstype=ext4--size= -$     A#part PV.008002--grow--size=1$     at    $     -#volgroup vg_host01--pesize=4096Pv.008002$     -#logvol/--FSTYPE=EXT4--name=lv_root--vgname=vg_host01--grow--size=1024x768--maxsize=51200$     -#logvol swap--name=lv_swap--vgname=vg_host01--grow--size=1984--maxsize=1984$     -    $     -Repo--name="CentOS"--baseurl=cdrom:sr0--cost= -$     in    $     -%packages--nobase$ to@core $ +%end[[email protected] tmp]#Cat-an/root/anaconda-ks.cfg

-

Linux basic commands-File View class command Cat/tac/more/less/tail/head

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.