Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Database \ The AWK use Cygwin tools mysql binlog log viewer     - CentOS 6.4 RPM install MySQL-5.6.22-1 (Database)

- Fedora 22 installation and configuration optimization (Linux)

- C ++ string in the end (Programming)

- ssh using scp: / directory: Permission denied (Server)

- Top command: the Task Manager under linux (Linux)

- Using Libreoffice under ubuntu (Linux)

- Use py2exe to generate exe files Python script (Programming)

- Linux Kernel 4.2 Installation Instructions (Linux)

- How to install new fonts on Ubuntu 14.04 and 14.10 (Linux)

- grep search from files and display the file name (Linux)

- Hyper-V virtual hard disk how to copy files to and attached to the virtual machine (Linux)

- Linux file permissions to modify the command: chmod (Linux)

- Wine 1.7 is installed on a system based on RedHat or Debian (Linux)

- CentOS 5.5 kernel upgrade installation iftop (Linux)

- Ubuntu 14.04 LTS next upgrade gcc to gcc-4.9, gcc-5 version (Linux)

- CentOS x86 64bit upgrade to 2.7 Python2.6 (Linux)

- Linux system Perl Lite netstat (Linux)

- TNS-03505 name could not be resolved (Database)

- CentOS7 Kubernetes used on container management (Server)

- Linux protobuf-c (Linux)

  The AWK use Cygwin tools mysql binlog log viewer
  Add Date : 2018-11-21      
  Linux tool really tough, but as there is no right to use the Linux machine and the development of not using Linux for people who sometimes want to use some command really inconvenient, so before going to try to use cygwin, a UNIX-simulation running on windows platform environment is cygnus solutions developed by free software, some use the command to bring a lot of convenience.

Demand for initial use are: binlog log exported by someone else, 100 + Mb, use a text editor to open the windows of the super slow, almost stuck fast, and view it is very difficult, so I'd like to select the relevant line out, saved as a separate a small file for easy viewing!

1, cygwin installation would not elaborate on the principle that all can be installed by default, since there is need to re-run the installation file setup.exe can.

2, preliminary debugging

The first command: Nature is the ls command to view the files in the current directory, found no document (cd /, ls view, it is not, and almost Linux);

The second command: View the current directory pwd, found to be / home / myhome; (under windows can easily add environment variables, and then open the shortcut cygwin: Run> minitty, and then lists the current directory: pwd, found / cygdrive / c / Users / myhome)

The third command: know the directory structure, you just need to find the file you want to open it, as follows: more /cygdrive/c/Users/Desktop/binlog.000033, then the entire screen is full-screen brush, does not look like clear.

The fourth command: Since the use of Linux, be sure to use awk this powerful text processing tools, the following: more /cygdrive/c/Users/Desktop/binlog.000033 | awk -F '@' '/ tab_user [^ _] / {print NR, "===>", $ 0} '> filtered-binlog.txt; this way, put the output to filter out the filtered-binlog.txt Lane, which under the more relaxed look. Other more useful commands, slowly with it. Note, awk inside the character must use double quotes, you can escape eg: \. "

3, what tools you need, the re-click setup.exe, to install it. (No apt-get, no yum, be careful not to conflict and windows oh)

So, you can properly use the various commands, though apt-get, su, yum commands can not be used, however, other actions can show its mettle.
- SQL Beginner Guide (Database)
- Analysis of Java keyword final (Programming)
- Linux Powerful command Awk Introduction (Linux)
- To install the iNode client on UbuntuKylin 13.10 (Linux)
- Java polymorphic methods inside constructors complete analysis (Programming)
- Kubuntu 14.04 desktop to the user how to upgrade KDE 4.13.2 (Linux)
- Python decorators to learn and practice the actual usage scenarios (Programming)
- Oracle Database routine inspection (Database)
- Delegate in C # (Programming)
- Linux Security and Optimization (Linux)
- Ubuntu 12.04 configure NVIDIA CUDA 5.5 Record (Linux)
- Linux server Php injection prevention (Linux)
- How to install Unbound and DNSCrypt in Archlinux (Server)
- Debian (Wheezy) were installed wxPython GUI development (Linux)
- Linux under HAProxy + Keepalived dual-availability program (Server)
- Detailed usage history command (Linux)
- Oracle Data Pump Example (Database)
- Actual SSH port forwarding (Linux)
- Firewall Configuration Red Hat Enterprise Linux 4 (Linux)
- Cancel Root Command History under Linux (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.