Gzip gunzip zcat bzip2 bunzip2 bzcat xz unxz xzcatA:gzip usage# gzip file Compressed files do not retain source files directly generated file.gz# Zcat file.gz can temporarily save gile.gz compressed files to other space in the terminal output for
1 Copy all files under the specified directory to another directory.If the Dir2 directory does not exist, it can be used directly:Cp-r Dir1 Dir2If the Dir2 directory exists, you need to use:Cp-r dir1/. Dir2If the same file exists in the Dir2
Number of files search: Find-type f-print|wc-l;Find a file: find/xxx/xx-name "filename";Number of file lines view:2.1 View files First 5 lines: Head-5/xxx/xx/filename;2.2 Viewing the file after a few lines: Tail-5/xx/xx/filename;2.3 View new
1.yum-y Install vsftpd2. Create a file [[Email protected] ~]# CD/[Email protected]/]# mkdir product[Email protected]/]# CD product3. Create a new user and give them permission [Email protected] product]# useradd
HexEdit Linux under command setThe HexEdit is a 16-binary editor.
Mobile (moving)
,
Move to file Header/tail (go to Start/end of the files)
→
Next character (next character)
←
Linux is a free-to-use and free-to-propagate Unix-like operating system, a POSIX and Unix-based multiuser, multitasking, multi-threaded and multi-CPU operating system.The basic idea of Linux is two points, 1. Everything is a document ; 2. each
1. The difference between type and file commands:(1) Type: Used to view whether a command is a built-in or external commandUse format: Type commandIf internal command, show builtinIf external command, display as command file path;Example:[[Email
Install the Linux system to configure the network (IP address, subnet mask, Gateway, DNS) to connect to the networkOne, turn on the NIC Eth0CentOS display no nic (eth0)2. Set the static IPVim/etc/sysconfig/network-scripts/ifcfg-eth01. The name of
One minute master Linux system grub.conf configuration Core Knowledgeboot loader (Boot loader) is a small program that runs before the computer loads the operating system kernel. With this applet, you can initialize the hardware device, set up a
Linux Boot detection service status displaySuccess or FailureThe state. There is no discovery, regardless of the name of the service, the last paragraph can beSnap To displayIt?Can we write a script to simulate it? ^_^ 来我们首先来分析一下: 首先,确定一下当前终端的宽度
1. File or Directory PropertiesThe properties of a Linux file or directory include: The file or directory's node, kind, permission mode, number of links, the user and user group to which it belongs, the time recently accessed or modified, and so on.
One installation of virtual machines using a graphical interface: 1 Preparation phase:Configure its CPU to be virtualized:Prepare the image file and copy it to the specified directoryInstallation of virt after configuring Yum source and mounting the
①start the first step-load the BIOSThe BIOS is loaded first because the BIOS contains information about the CPU, device boot sequence information, hard disk information, memory information, clock information, PNP features, and so on.②start the
Common logs on Linux are:1./var/log/cron Query crontab has not been executed, whether there is a problem.2./VAR/LOG/DMESG records the information generated by the kernel detection process when it is powered on.3./var/log/lastlog records the
Need to download 3 packages: Address link: Link: https://pan.baidu.com/s/1lltAa6JnjJ7Mr88duixUSQ Password: 5YIW(1) rsh-0.17-14.i386.rpm(2) rsh-server-0.17-14.i386.rpm(3) rpc.rstatd-4.0.1.tar.gzFirst, installation rshSee if RSH is installed and
server operating SystemUnixLinux:gnu/linuxWindowsLinux History Linux is Unix-likeUnix was born in 1969 Ken TompsonLinux was born in 1991 TorvaldsLinux distributions SlackwareSuse,open SuseRed HatRhel,centos,fedoraDebianUbuntuAndroidThe
Wall # Send messages to other users Whereis LS # Find a directory of commands which # view when The path of the command to be executed before clear # clears the entire screen reset # reinitialize screen cal # Show Calendar
The philosophical thinking of Linux:1. All DocumentsLinux abstracts almost all of the data and resources in the form of files, even hardware, sockets used by network communications devices, and pipelines;File: A set of streaming data in a storage
Touch File # Create a blank file rm-RF Directory Name # does not prompt to delete a non-empty directory (-r: Recursive Delete-f Force) Dos2unix # Windows text to Linux text Unix2dos # Linux text to Windows text eNCA filename # View coded install Yum
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