1. View version Information
(1) View kernel version
#Cat/proc/Versionlinux version3.10.0-229. el7.x86_64 ([email protected]) (GCCVersion4.8.2 20140120(Red Hat4.8.2- -) (GCC)) #1SMP Fri Mar6 One: $: theUtc -# uname-Alinux Vm_230_236_centos3.10.0-229. el7.x86_64 #1SMP Fri Mar6 One: $: theUtc -x86_64 x86_64 x86_64 gnu/linux#uname-R3.10.0-229. el7.x86_64
(2) View Linux version
cat /etc/redhat-7.1. 1503 (Core)
Lsb_release-a
This command is also available, except that it is not supported on CentOS7 and requires the installation of the REDHAT-LSB package.
# Lsb_release-alsb Version:: Core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarchdistributor ID:CentOSDescription:CentOS Linux release7.1.1503(Core) Release:7.1.1503Codename:core
2. Delete
RM-RF Directory Name
Rm-f file name
-R is recursive down, no matter how many levels of directory, delete
-F is directly forcibly deleted, without any hint of meaning
(use is to be careful, once deleted, unable to recover)
Linux commands: View version info + DELETE